development/JSONObject: Patched SlackBuild.

Fixes build failure on -current with boost-1.58.

Signed-off-by: David Spencer <baildon.research@googlemail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
David Spencer 2015-08-21 19:16:56 +01:00 committed by Willy Sudiarto Raharjo
parent f0bccadbc7
commit 47f10da835
3 changed files with 15 additions and 1 deletions

View file

@ -73,6 +73,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# Fails to build with boost-1.58 (missing include)
patch -p1 < $CWD/incl-iostream.patch
mkdir -p build
cd build
LDFLAGS="-lboost_system" \

View file

@ -1,6 +1,6 @@
PRGNAM="JSONObject"
VERSION="1.0.2"
HOMEPAGE="https://github.com/mariolpantunes/json"
HOMEPAGE="https://github.com/ATNoG/JSONObject"
DOWNLOAD="https://github.com/ATNoG/JSONObject/archive/v1.0.2.tar.gz"
MD5SUM="a329aed36a18170511cbadc009d75311"
DOWNLOAD_x86_64=""

View file

@ -0,0 +1,11 @@
diff -u -r JSONObject-1.0.2/JSONObject.hpp JSONObject-1.0.2-patched/JSONObject.hpp
--- JSONObject-1.0.2/JSONObject.hpp 2013-03-15 10:07:13.000000000 +0000
+++ JSONObject-1.0.2-patched/JSONObject.hpp 2015-08-21 15:49:05.151811279 +0100
@@ -15,6 +15,7 @@
#include <string>
#include <sstream>
#include <vector>
+#include <iostream>
#include <boost/property_tree/ptree.hpp>
#include <boost/regex.hpp>