diff options
author | spaceman <spaceman@antispaceman.com> | 2015-06-17 16:11:21 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-06-17 16:11:21 +0700 |
commit | e7edfef3e9b6430a214c031f1a74053741cef365 (patch) | |
tree | 113b882caa81aaa2f9d84730931ce27f36bd3ccd /games/openttd/openttd.SlackBuild | |
parent | 45e97bb0e4ab838a33ab8460b4f5c1b439c03eb6 (diff) | |
download | slackbuilds-e7edfef3e9b6430a214c031f1a74053741cef365.tar.gz |
games/openttd: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/openttd/openttd.SlackBuild')
-rw-r--r-- | games/openttd/openttd.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/games/openttd/openttd.SlackBuild b/games/openttd/openttd.SlackBuild index 5685daeefd..c18f120fff 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" \ |