diff --git a/srcpkgs/xplanet/template b/srcpkgs/xplanet/template index f6c9170f0f8..f72b458959c 100644 --- a/srcpkgs/xplanet/template +++ b/srcpkgs/xplanet/template @@ -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 +}