aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/tensorflow/system-jsoncpp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/tensorflow/system-jsoncpp.patch')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/python-modules/tensorflow/system-jsoncpp.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/tensorflow/system-jsoncpp.patch b/infra/libkookie/nixpkgs/pkgs/development/python-modules/tensorflow/system-jsoncpp.patch
new file mode 100644
index 000000000000..ecb2d04d7eef
--- /dev/null
+++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/tensorflow/system-jsoncpp.patch
@@ -0,0 +1,21 @@
+diff --git a/third_party/systemlibs/jsoncpp.BUILD b/third_party/systemlibs/jsoncpp.BUILD
+index 526fd0c418..646f3fdcea 100644
+--- a/third_party/systemlibs/jsoncpp.BUILD
++++ b/third_party/systemlibs/jsoncpp.BUILD
+@@ -7,6 +7,7 @@ filegroup(
+
+ HEADERS = [
+ "include/json/autolink.h",
++ "include/json/allocator.h",
+ "include/json/config.h",
+ "include/json/features.h",
+ "include/json/forwards.h",
+@@ -23,7 +24,7 @@ genrule(
+ cmd = """
+ for i in $(OUTS); do
+ i=$${i##*/}
+- ln -sf $(INCLUDEDIR)/jsoncpp/json/$$i $(@D)/include/json/$$i
++ ln -sf $(INCLUDEDIR)/json/$$i $(@D)/include/json/$$i
+ done
+ """,
+ )