summaryrefslogtreecommitdiffstats
path: root/libraries/jansson/jansson.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/jansson/jansson.SlackBuild')
-rw-r--r--libraries/jansson/jansson.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/libraries/jansson/jansson.SlackBuild b/libraries/jansson/jansson.SlackBuild
index cc6a9e4aa0..49bc52ca0a 100644
--- a/libraries/jansson/jansson.SlackBuild
+++ b/libraries/jansson/jansson.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for jansson
-# Copyright 2014-2017 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2014-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=jansson
-VERSION=${VERSION:-2.10}
+VERSION=${VERSION:-2.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Patch to fix conflicting json_* symbols.
+# Ref: https://groups.google.com/forum/#!topic/jansson-users/7Efx-RI45IU
+patch -p1 < $CWD/0001-Enable-Bsymbolic-functions-linker-flag-whenever-poss.patch
+autoreconf -ivf
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \