summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/JSONObject/JSONObject.SlackBuild3
-rw-r--r--development/JSONObject/JSONObject.info2
-rw-r--r--development/JSONObject/incl-iostream.patch11
3 files changed, 15 insertions, 1 deletions
diff --git a/development/JSONObject/JSONObject.SlackBuild b/development/JSONObject/JSONObject.SlackBuild
index 778007184e..4dc3689d8c 100644
--- a/development/JSONObject/JSONObject.SlackBuild
+++ b/development/JSONObject/JSONObject.SlackBuild
@@ -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" \
diff --git a/development/JSONObject/JSONObject.info b/development/JSONObject/JSONObject.info
index 310d2b88fb..c5e168b97d 100644
--- a/development/JSONObject/JSONObject.info
+++ b/development/JSONObject/JSONObject.info
@@ -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=""
diff --git a/development/JSONObject/incl-iostream.patch b/development/JSONObject/incl-iostream.patch
new file mode 100644
index 0000000000..1033ea7a6f
--- /dev/null
+++ b/development/JSONObject/incl-iostream.patch
@@ -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>