From e7edfef3e9b6430a214c031f1a74053741cef365 Mon Sep 17 00:00:00 2001 From: spaceman Date: Wed, 17 Jun 2015 16:11:21 +0700 Subject: games/openttd: Fix build. Signed-off-by: Willy Sudiarto Raharjo --- games/openttd/openttd.SlackBuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'games/openttd/openttd.SlackBuild') diff --git a/games/openttd/openttd.SlackBuild b/games/openttd/openttd.SlackBuild index 5685daeefddd..c18f120fff87 100644 --- a/games/openttd/openttd.SlackBuild +++ b/games/openttd/openttd.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=openttd VERSION=${VERSION:-1.4.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} OPENGFX=0.5.0 @@ -85,7 +85,9 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +patch -p0 < $CWD/openttd.patch CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -- cgit v1.2.3