mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
tracker: fix build with giflib-5.1.0
This commit is contained in:
parent
aa58e5c10b
commit
77340f1ad5
1 changed files with 6 additions and 0 deletions
|
@ -21,6 +21,7 @@ license="GPL-2"
|
||||||
homepage="http://live.gnome.org/Tracker"
|
homepage="http://live.gnome.org/Tracker"
|
||||||
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
||||||
checksum=cd9d0ebb2f09b581b3da607aeca96ec770ba1548c98f541dc3428bc945ff9886
|
checksum=cd9d0ebb2f09b581b3da607aeca96ec770ba1548c98f541dc3428bc945ff9886
|
||||||
|
make_build_args=-d
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
|
@ -31,6 +32,11 @@ fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
libtoolize -f
|
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() {
|
tracker-devel_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue