tracker: fix build with giflib-5.1.0
This commit is contained in:
parent
aa58e5c10b
commit
77340f1ad5
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue