From 660ac5b061a64ec8516d76fae433b043f41a6c63 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 23 Nov 2015 11:47:58 +0100 Subject: network/icecat: Fix building against the newer freetype. Signed-off-by: Matteo Bernardini --- network/icecat/icecat.SlackBuild | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'network/icecat') diff --git a/network/icecat/icecat.SlackBuild b/network/icecat/icecat.SlackBuild index deb053854a..a540f1adf5 100644 --- a/network/icecat/icecat.SlackBuild +++ b/network/icecat/icecat.SlackBuild @@ -86,15 +86,10 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/${PRGNAM}-$VERSION-gnu1.tar.bz2 cd ${PRGNAM}-$VERSION -# Fix a long standing bug that's prevented staying current on GTK+. -# Thanks to the BLFS folks. :-) -cat << EOF >> layout/build/Makefile.in - -ifdef MOZ_ENABLE_CANVAS -EXTRA_DSO_LDOPTS += \$(XLDFLAGS) -lX11 -lXrender -endif - -EOF +# https://bugzilla.mozilla.org/show_bug.cgi?id=1194520 +sed -e '/^ftglyph.h/i ftfntfmt.h' \ + -e '/^freetype\/ftcache.h/a freetype\/ftfntfmt.h' \ + -i config/system-headers chown -R root:root . find -L . \ -- cgit v1.2.3