diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-08-21 19:16:56 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 47f10da835de653a2d44b2b94a7a7dad1da06821 (patch) | |
tree | 60a3c59ab56994f2cbaf1ba55aaf2bf83a4b449d /development | |
parent | f0bccadbc7f5b47b9ce2661f9234a16cacefba34 (diff) |
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>
Diffstat (limited to 'development')
-rw-r--r-- | development/JSONObject/JSONObject.SlackBuild | 3 | ||||
-rw-r--r-- | development/JSONObject/JSONObject.info | 2 | ||||
-rw-r--r-- | development/JSONObject/incl-iostream.patch | 11 |
3 files changed, 15 insertions, 1 deletions
diff --git a/development/JSONObject/JSONObject.SlackBuild b/development/JSONObject/JSONObject.SlackBuild index 778007184e6e..4dc3689d8c34 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 310d2b88fba5..c5e168b97d35 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 000000000000..1033ea7a6f29 --- /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> |