summaryrefslogtreecommitdiff
path: root/games/torcs/torcs.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-07-04 13:54:35 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-08 07:11:16 +0700
commit66c00df044aa06d9076020159ebb9811a05258c7 (patch)
treeee69d514caf7a2fd08eb3b26aaa387818d0ac493 /games/torcs/torcs.SlackBuild
parent5cfdaa94ea6aee8456d376357f985441609fdfed (diff)
downloadslackbuilds-66c00df044aa06d9076020159ebb9811a05258c7.tar.gz
games/torcs: Fix build on -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/torcs/torcs.SlackBuild')
-rw-r--r--games/torcs/torcs.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/torcs/torcs.SlackBuild b/games/torcs/torcs.SlackBuild
index 07b419adb1..76ee0f1fae 100644
--- a/games/torcs/torcs.SlackBuild
+++ b/games/torcs/torcs.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170704 bkw: fix build on -current
+
PRGNAM=torcs
VERSION=${VERSION:-1.3.7}
BUILD=${BUILD:-1}
@@ -53,6 +55,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/gcc7.diff
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \