summaryrefslogtreecommitdiffstats
path: root/libraries/jansson/jansson.SlackBuild
diff options
context:
space:
mode:
author Larry Hajali2018-08-14 21:42:52 +0200
committer Willy Sudiarto Raharjo2018-08-18 03:39:52 +0200
commit4051963a7017dd1bc797a60a04ca60c2648b1697 (patch)
treef7e46e5f613dcc76ab5cd6e76f335d750dedfcdd /libraries/jansson/jansson.SlackBuild
parent98193df068f9fd3609427e40d083ec8c3f8f48ed (diff)
downloadslackbuilds-4051963a7017dd1bc797a60a04ca60c2648b1697.tar.gz
libraries/jansson: Updated for version 2.11
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
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 \