diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2018-08-14 12:42:52 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-08-18 08:39:52 +0700 |
commit | 4051963a7017dd1bc797a60a04ca60c2648b1697 (patch) | |
tree | f7e46e5f613dcc76ab5cd6e76f335d750dedfcdd /libraries/jansson/jansson.SlackBuild | |
parent | 98193df068f9fd3609427e40d083ec8c3f8f48ed (diff) |
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.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libraries/jansson/jansson.SlackBuild b/libraries/jansson/jansson.SlackBuild index cc6a9e4aa087d..49bc52ca0ad18 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 \ |