From fecc087f427cb407b577db84e07384f9eff51741 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Fri, 3 Oct 2014 22:02:39 +0200 Subject: [PATCH] fontforge: update shlibs; fix build with giflib-5.1.0 --- common/shlibs | 7 +++++++ srcpkgs/fontforge/template | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/common/shlibs b/common/shlibs index 9171200f3b..36959390d3 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 + diff --git a/srcpkgs/fontforge/template b/srcpkgs/fontforge/template index 84128a77a2..2ef0ba21ed 100644 --- a/srcpkgs/fontforge/template +++ b/srcpkgs/fontforge/template @@ -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() {