xplanet: fix build with giflib-5.1.0

This commit is contained in:
Enno Boland 2014-10-03 23:29:20 +02:00
parent 627d67fb98
commit 4889bf4e23

View File

@ -12,3 +12,9 @@ license="GPL-2"
homepage="http://xplanet.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=44fb742bb93e5661ea8b11ccabcc12896693e051f3dd5083c9227224c416b442
pre_configure() {
# make it build with giflib-5.1.0
# see http://wiki.linuxfromscratch.org/blfs/ticket/5076#comment:2
sed -i "/[DE]GifCloseFile/s:file:&, NULL:g" src/libimage/gif.c
}