mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
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>
This commit is contained in:
parent
4710ee3fa7
commit
15ea2056fd
1 changed files with 6 additions and 0 deletions
|
@ -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}" \
|
||||
|
|
Loading…
Reference in a new issue