summaryrefslogtreecommitdiff
path: root/graphics/graphviz/graphviz.SlackBuild
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-05-30 06:22:09 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 08:55:30 -0500
commit0cfa1744b880b158c07dbc767514311ea2633c88 (patch)
tree5c79b91afc77ce9dcac3552330c495d0163052e3 /graphics/graphviz/graphviz.SlackBuild
parenteed82ba7f01a3961ee56110db9908c00a3d6c526 (diff)
downloadslackbuilds-0cfa1744b880b158c07dbc767514311ea2633c88.tar.gz
graphics/graphviz: Added a fix for php-5.4.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/graphviz/graphviz.SlackBuild')
-rw-r--r--graphics/graphviz/graphviz.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/graphviz/graphviz.SlackBuild b/graphics/graphviz/graphviz.SlackBuild
index 385a05f48f..82469e34d7 100644
--- a/graphics/graphviz/graphviz.SlackBuild
+++ b/graphics/graphviz/graphviz.SlackBuild
@@ -8,7 +8,7 @@
PRGNAM=graphviz
VERSION=${VERSION:-2.28.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -52,6 +52,9 @@ chmod -R u+w,go+r-w,a-s .
# Install PHP bindings to proper location.
sed -i 's|/php/modules|/php/extensions|' configure
+# Fix for php-5.4
+patch -p1 < $CWD/php_5.4_compat.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \