sxiv: fix building against giflib >= 5.1.0
This commit is contained in:
parent
688cf4d57c
commit
f6876109fe
@ -5,12 +5,13 @@
|
|||||||
|
|
||||||
name=sxiv
|
name=sxiv
|
||||||
version=1.2
|
version=1.2
|
||||||
release=2
|
release=3
|
||||||
source=(https://github.com/muennich/$name/archive/v$version.tar.gz config.h)
|
source=(https://github.com/muennich/$name/archive/v$version.tar.gz config.h)
|
||||||
|
|
||||||
build () {
|
build () {
|
||||||
cd "$name-$version"
|
cd "$name-$version"
|
||||||
cp $SRC/config.h .
|
cp $SRC/config.h .
|
||||||
|
sed -i 's|DGifCloseFile(gif)|DGifCloseFile(gif, NULL)|g' image.c
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG \
|
make DESTDIR=$PKG \
|
||||||
PREFIX=/usr \
|
PREFIX=/usr \
|
||||||
|
Loading…
Reference in New Issue
Block a user