aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/json-c/json-c.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/json-c/json-c.SlackBuild b/libraries/json-c/json-c.SlackBuild
index cb429d0dfefe..dcdd6f690be4 100644
--- a/libraries/json-c/json-c.SlackBuild
+++ b/libraries/json-c/json-c.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=json-c
VERSION=${VERSION:-0.10}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -51,6 +51,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+sed -i "s|json_object\.h|json_object.h json_object_iterator.h|" Makefile.in
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \