void-packages/srcpkgs/chromium/patches/chromium_fix_json_headers.patch
2013-04-23 20:14:57 +04:00

38 lines
1.3 KiB
Diff

--- third_party/jsoncpp/jsoncpp.gyp.orig 2013-04-22 21:42:14.720741254 +0400
+++ third_party/jsoncpp/jsoncpp.gyp 2013-04-22 21:42:55.616648298 +0400
@@ -52,15 +52,15 @@
'variables': {
'headers_root_path': 'source/include',
'header_filenames': [
- 'json/assertions.h',
- 'json/autolink.h',
- 'json/config.h',
- 'json/features.h',
- 'json/forwards.h',
- 'json/json.h',
- 'json/reader.h',
- 'json/value.h',
- 'json/writer.h',
+ 'jsoncpp/json/assertions.h',
+ 'jsoncpp/json/autolink.h',
+ 'jsoncpp/json/config.h',
+ 'jsoncpp/json/features.h',
+ 'jsoncpp/json/forwards.h',
+ 'jsoncpp/json/json.h',
+ 'jsoncpp/json/reader.h',
+ 'jsoncpp/json/value.h',
+ 'jsoncpp/json/writer.h',
],
},
'includes': [
--- third_party/libjingle/source/talk/base/json.h.orig 2013-04-22 23:06:06.051857164 +0400
+++ third_party/libjingle/source/talk/base/json.h 2013-04-22 23:06:13.860853852 +0400
@@ -32,7 +32,7 @@
#include <vector>
#ifdef JSONCPP_RELATIVE_PATH
-#include "json/json.h"
+#include "jsoncpp/json/json.h"
#else
#include "third_party/jsoncpp/json.h"
#endif