ports/117018: [patch] games/openttd: update to 0.5.3; "Bad system call" fix
Artem Naluzhnyy
tut at nhamon.com.ua
Mon Oct 8 15:10:03 UTC 2007
>Number: 117018
>Category: ports
>Synopsis: [patch] games/openttd: update to 0.5.3; "Bad system call" fix
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 08 15:10:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Artem Naluzhnyy
>Release: 7.0-CURRENT
>Organization:
>Environment:
>Description:
The patch also fixes "Bad system call" error when SDL sound driver is used (default mode) - we have to link it with with -lpthread.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN openttd.bak/Makefile openttd/Makefile
--- openttd.bak/Makefile 2007-08-28 03:11:16.000000000 +0300
+++ openttd/Makefile 2007-10-08 16:32:28.000000000 +0300
@@ -6,7 +6,7 @@
#
PORTNAME= openttd
-PORTVERSION= 0.5.2
+PORTVERSION= 0.5.3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -30,6 +30,8 @@
USE_SDL= sdl
.endif
+PTHREAD_LIBS= -lpthread
+
MAKE_ARGS+= RELEASE=${PORTVERSION} DATA_DIR="share/openttd" \
USE_HOMEDIR=1 PERSONAL_DIR=.openttd INSTALL=1 VERBOSE=1 \
PTHREAD_LIBS="${PTHREAD_LIBS}"
diff -ruN openttd.bak/distinfo openttd/distinfo
--- openttd.bak/distinfo 2007-08-28 03:11:16.000000000 +0300
+++ openttd/distinfo 2007-10-08 16:39:03.000000000 +0300
@@ -1,3 +1,3 @@
-MD5 (openttd-0.5.2-source.tar.gz) = 13a91f65db9614798212487b2180966e
-SHA256 (openttd-0.5.2-source.tar.gz) = 12d5e4c17cc04d7d6926a87fd4bbcd74131b734edeafb77d92f36c1d14191b9e
-SIZE (openttd-0.5.2-source.tar.gz) = 4095499
+MD5 (openttd-0.5.3-source.tar.gz) = 609bd6a728987326cb0293994185e490
+SHA256 (openttd-0.5.3-source.tar.gz) = 0327028653af2b8e2aa90c83ead83b4487792bbfbee3b5bbd15f7ed8907ee70d
+SIZE (openttd-0.5.3-source.tar.gz) = 4114053
diff -ruN openttd.bak/files/pkg-message.in openttd/files/pkg-message.in
--- openttd.bak/files/pkg-message.in 2006-11-30 00:56:41.000000000 +0200
+++ openttd/files/pkg-message.in 2007-10-08 16:32:08.000000000 +0300
@@ -11,6 +11,17 @@
trgir.grf
trgtr.grf
+
+ If you are using a non-latin language you may see lots of '?'
+ on screen. Please open your configuration file and add a desired
+ fonts (file name with full path). Bold fonts look better ;)
+
+ [misc]
+ small_font =
+ medium_font =
+ large_font =
+
+
Enjoy!!
==========================================================================
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list