aboutsummaryrefslogtreecommitdiff
path: root/libraries/json-c
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-12-23 23:11:38 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-23 23:14:29 +0100
commitcd5b4f7cee11ccaa9b7d9c84090c372afa23c7ec (patch)
tree241f5efe2d23f0b6ebf7ffe7023e6eac5e78c78e /libraries/json-c
parent9bd0400923866e801a3dcfbc4f364b019f22f1be (diff)
libraries/json-c: Added back a missing header.
Thanks to XGizzmo and Benjamin Trigona-Harany Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/json-c')
-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 cb429d0dfefe3..dcdd6f690be43 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 \