From 47f10da835de653a2d44b2b94a7a7dad1da06821 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Fri, 21 Aug 2015 19:16:56 +0100 Subject: development/JSONObject: Patched SlackBuild. Fixes build failure on -current with boost-1.58. Signed-off-by: David Spencer Signed-off-by: Willy Sudiarto Raharjo --- development/JSONObject/JSONObject.SlackBuild | 3 +++ development/JSONObject/JSONObject.info | 2 +- development/JSONObject/incl-iostream.patch | 11 +++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 development/JSONObject/incl-iostream.patch (limited to 'development/JSONObject') 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 + #include + #include ++#include + + #include + #include -- cgit v1.2.3