mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
development/gnustep-startup: Fix build with giflib 5.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7067111589
commit
37d75946ea
1 changed files with 9 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue