From 4889bf4e23357c4ea6d88d27d468fbd77b53ff56 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Fri, 3 Oct 2014 23:29:20 +0200 Subject: [PATCH] xplanet: fix build with giflib-5.1.0 --- srcpkgs/xplanet/template | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/srcpkgs/xplanet/template b/srcpkgs/xplanet/template index f6c9170f0f..f72b458959 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 +}