tracker: fix build with giflib-5.1.0

This commit is contained in:
Enno Boland 2014-10-03 23:06:07 +02:00
parent aa58e5c10b
commit 77340f1ad5
1 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,7 @@ license="GPL-2"
homepage="http://live.gnome.org/Tracker"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=cd9d0ebb2f09b581b3da607aeca96ec770ba1548c98f541dc3428bc945ff9886
make_build_args=-d
# Package build options
build_options="gir"
@ -31,6 +32,11 @@ fi
pre_configure() {
libtoolize -f
# prevent aclocal from run
touch aclocal.m4 Makefile.in config.h.in
# make it build with giflib-5.1.0
# see http://wiki.linuxfromscratch.org/blfs/ticket/5076#comment:2
sed -i "/DGifCloseFile/s:gifFile:&, NULL:g" src/tracker-extract/tracker-extract-gif.c
}
tracker-devel_package() {