fontforge: update shlibs; fix build with giflib-5.1.0

This commit is contained in:
Enno Boland 2014-10-03 22:02:39 +02:00
parent 91cb5a7779
commit fecc087f42
2 changed files with 11 additions and 1 deletions

View file

@ -1750,3 +1750,10 @@ liblucene++-contrib.so.0 Lucene++-3.0.6_1
libeolian.so.1 efl-1.11.2_2
libecore_avahi.so.1 efl-1.11.2_2
libephysics.so.1 efl-1.11.2_2
libgunicode.so.4 fontforge-2.0.20140101_3
libgutils.so.2 fontforge-2.0.20140101_3
libgioftp.so.2 fontforge-2.0.20140101_3
libfontforge.so.2 fontforge-2.0.20140101_3
libgdraw.so.5 fontforge-2.0.20140101_3
libfontforgeexe.so.2 fontforge-2.0.20140101_3

View file

@ -5,7 +5,7 @@ revision=3
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libltdl-devel python-devel zlib-devel pango-devel readline-devel
giflib-devel libpng-devel libjpeg-turbo-devel tiff-devel libxml2-devel
giflib-devel>=5.1.0 libpng-devel libjpeg-turbo-devel tiff-devel libxml2-devel
libspiro-devel hicolor-icon-theme desktop-file-utils"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="Create and modify PostScript, TrueType and SVG fonts"
@ -20,6 +20,9 @@ checksum="3d7fa1e9e05ccae2a949bf78ae4bfa5ac166d91a370cd1073ed8c51710bc5f00
pre_configure() {
sed '/fontforge_package_name/s/^#//' -i configure.ac
./autogen.sh --verbose
# make it build with giflib-5.1.0
# see http://wiki.linuxfromscratch.org/blfs/ticket/5076#comment:2
sed -i "/DGifCloseFile/s:gif:&, NULL:g" gutils/gimagereadgif.c
}
post_install() {