From 37d75946ea291b12c8d579f3cbee6c1113da968b Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 4 Jan 2016 22:53:55 +0700 Subject: development/gnustep-startup: Fix build with giflib 5.1. Signed-off-by: Willy Sudiarto Raharjo --- development/gnustep-startup/gnustep-startup.SlackBuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 \ -- cgit v1.2.3