sxiv: fix building against giflib >= 5.1.0

This commit is contained in:
Maximilian Dietrich 2014-09-13 14:44:42 +02:00
parent 688cf4d57c
commit f6876109fe

View File

@ -5,12 +5,13 @@
name=sxiv
version=1.2
release=2
release=3
source=(https://github.com/muennich/$name/archive/v$version.tar.gz config.h)
build () {
cd "$name-$version"
cp $SRC/config.h .
sed -i 's|DGifCloseFile(gif)|DGifCloseFile(gif, NULL)|g' image.c
make
make DESTDIR=$PKG \
PREFIX=/usr \