summarylogtreecommitdiffstats
path: root/jsoncpp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'jsoncpp.patch')
-rw-r--r--jsoncpp.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/jsoncpp.patch b/jsoncpp.patch
new file mode 100644
index 000000000000..2cdd754c1b42
--- /dev/null
+++ b/jsoncpp.patch
@@ -0,0 +1,25 @@
+--- configure.orig 2015-08-12 20:07:13.946754173 +0200
++++ configure 2015-08-12 20:07:28.439986151 +0200
+@@ -6442,9 +6442,9 @@
+
+
+
+-for ac_header in jsoncpp/json/json.h
++for ac_header in json/json.h
+ do :
+- ac_fn_cxx_check_header_mongrel "$LINENO" "jsoncpp/json/json.h" "ac_cv_header_jsoncpp_json_json_h" "$ac_includes_default"
++ ac_fn_cxx_check_header_mongrel "$LINENO" "json/json.h" "ac_cv_header_jsoncpp_json_json_h" "$ac_includes_default"
+ if test "x$ac_cv_header_jsoncpp_json_json_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+ #define HAVE_JSONCPP_JSON_JSON_H 1
+--- submit/submit.cc.orig 2015-08-12 20:28:45.377704085 +0200
++++ submit/submit.cc 2015-08-12 20:28:56.307629469 +0200
+@@ -27,7 +27,7 @@
+ #include <termios.h>
+ #include <curl/curl.h>
+ #include <curl/easy.h>
+-#include <jsoncpp/json/json.h>
++#include <json/json.h>
+ #ifdef HAVE_MAGIC_H
+ #include <magic.h>
+ #endif