summaryrefslogtreecommitdiff
path: root/development/gnustep-startup/gnustep-startup.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/gnustep-startup/gnustep-startup.SlackBuild')
-rw-r--r--development/gnustep-startup/gnustep-startup.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/development/gnustep-startup/gnustep-startup.SlackBuild b/development/gnustep-startup/gnustep-startup.SlackBuild
index e8911ed42e..27f716c72a 100644
--- a/development/gnustep-startup/gnustep-startup.SlackBuild
+++ b/development/gnustep-startup/gnustep-startup.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=gnustep-startup
VERSION=${VERSION:-0.32.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,14 @@ 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 {} \;
+# We need to patch gnustep-gui to work with giflib 5.1
+cd sources
+tar xvf gnustep-gui-0.24.0.tar.gz
+sed -i "s|DGifCloseFile(file|DGifCloseFile(file, NULL|" gnustep-gui-0.24.0/Source/NSBitmapImageRep+GIF.m
+tar czvf gnustep-gui-0.24.0.tar.gz gnustep-gui-0.24.0
+rm -rf gnustep-gui-0.24.0
+cd ..
+
./InstallGNUstep \
--prefix=/opt/gnustep/ \
--batch \