summaryrefslogtreecommitdiff
path: root/graphics/graphviz/graphviz.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-06 22:22:52 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit15ea2056fdf008b653c02f27ddf2e416cd34ac1b (patch)
treeb7d8b063d7bdcccbb4921d67ec03101548a64a71 /graphics/graphviz/graphviz.SlackBuild
parent4710ee3fa730dcc37d1c6430741e0db2c59e3296 (diff)
downloadslackbuilds-15ea2056fdf008b653c02f27ddf2e416cd34ac1b.tar.gz
graphics/graphviz: Fix build with ghostscript-9.18.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/graphviz/graphviz.SlackBuild')
-rw-r--r--graphics/graphviz/graphviz.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/graphviz/graphviz.SlackBuild b/graphics/graphviz/graphviz.SlackBuild
index 2b0012e95a..dca0ce1bd0 100644
--- a/graphics/graphviz/graphviz.SlackBuild
+++ b/graphics/graphviz/graphviz.SlackBuild
@@ -77,6 +77,12 @@ sed -i 's|/php/modules|/php/extensions|' configure
# Fix for php-5.4
patch -p1 -i $CWD/php_5.4_compat.patch
+# Fix for ghostscript-9.18 (thanks to BLFS)
+# http://wiki.linuxfromscratch.org/blfs/ticket/7037#comment:2
+sed -i \
+ -e 's/ e_/ gs_error_/' \
+ plugin/gs/gvloadimage_gs.c
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \