summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-04 22:53:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit37d75946ea291b12c8d579f3cbee6c1113da968b (patch)
tree9dc78f524fd8394ff0e7bd59d2a7dc39ecf52ab4 /development
parent7067111589bd57a44ba1eaba8cbc2d7e95811d2a (diff)
downloadslackbuilds-37d75946ea291b12c8d579f3cbee6c1113da968b.tar.gz
development/gnustep-startup: Fix build with giflib 5.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-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 \