summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2015-11-23 11:47:58 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit660ac5b061a64ec8516d76fae433b043f41a6c63 (patch)
tree7fe41603ca05d48322946d969570288ccd2c9296
parentd3dde447c0da175d3d914ef8ee706ae8e92dc408 (diff)
downloadslackbuilds-660ac5b061a64ec8516d76fae433b043f41a6c63.tar.gz
network/icecat: Fix building against the newer freetype.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--network/icecat/icecat.SlackBuild13
1 files changed, 4 insertions, 9 deletions
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 . \