summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/endless-sky/endless-sky.SlackBuild3
-rw-r--r--games/endless-sky/include-string.diff11
2 files changed, 13 insertions, 1 deletions
diff --git a/games/endless-sky/endless-sky.SlackBuild b/games/endless-sky/endless-sky.SlackBuild
index dcc4c3a157..17fdc9e6d6 100644
--- a/games/endless-sky/endless-sky.SlackBuild
+++ b/games/endless-sky/endless-sky.SlackBuild
@@ -22,7 +22,7 @@
PRGNAM=endless-sky
VERSION=${VERSION:-0.9.12}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -64,6 +64,7 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
+patch -p0 < $CWD/include-string.diff
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
diff --git a/games/endless-sky/include-string.diff b/games/endless-sky/include-string.diff
new file mode 100644
index 0000000000..b36d97adb5
--- /dev/null
+++ b/games/endless-sky/include-string.diff
@@ -0,0 +1,11 @@
+--- source/Panel.h~ 2020-05-01 21:02:38.000000000 +0200
++++ source/Panel.h 2020-12-17 15:29:57.592856826 +0100
+@@ -17,7 +17,7 @@
+
+ #include <functional>
+ #include <list>
+-
++#include <string>
+ #include <SDL2/SDL.h>
+
+ class Command;