summaryrefslogtreecommitdiffstats
path: root/games/FlightGear/FlightGear.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/FlightGear/FlightGear.SlackBuild')
-rw-r--r--games/FlightGear/FlightGear.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/FlightGear/FlightGear.SlackBuild b/games/FlightGear/FlightGear.SlackBuild
index 0f2e775fb1..f1cb2b218a 100644
--- a/games/FlightGear/FlightGear.SlackBuild
+++ b/games/FlightGear/FlightGear.SlackBuild
@@ -50,6 +50,9 @@ 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 {} \;
+# Fix underlinking (patch thanks to Arch Linux)
+patch -p1 < $CWD/explicitly-link-with-libX11.patch
+
mkdir -p build
cd build
cmake \