summaryrefslogtreecommitdiff
path: root/science/py-tensorflow/files/patch-third__party_flatbuffers_BUILD.system
diff options
context:
space:
mode:
authorAnthony Donnelly <amzo1337@gmail.com>2021-07-08 17:27:30 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2021-07-08 17:31:37 -0700
commit3dccfaa0cdd58e4ba5cde9d68ddf1351b55db1ef (patch)
treea6eb958fb4d4cbed1e11add61edc0edeebc2cf20 /science/py-tensorflow/files/patch-third__party_flatbuffers_BUILD.system
parentdevel/google-cloud-cpp117: New port: C++ Idiomatic Clients for Google Cloud P... (diff)
science/py-tensorflow: Update 1.14.0 -> 1.15.5
PR: 250646
Diffstat (limited to 'science/py-tensorflow/files/patch-third__party_flatbuffers_BUILD.system')
-rw-r--r--science/py-tensorflow/files/patch-third__party_flatbuffers_BUILD.system18
1 files changed, 18 insertions, 0 deletions
diff --git a/science/py-tensorflow/files/patch-third__party_flatbuffers_BUILD.system b/science/py-tensorflow/files/patch-third__party_flatbuffers_BUILD.system
new file mode 100644
index 000000000000..65f87cc52cb5
--- /dev/null
+++ b/science/py-tensorflow/files/patch-third__party_flatbuffers_BUILD.system
@@ -0,0 +1,18 @@
+--- third_party/flatbuffers/BUILD.system.orig 2021-01-04 20:18:42 UTC
++++ third_party/flatbuffers/BUILD.system
+@@ -9,6 +9,7 @@ filegroup(
+ cc_library(
+ name = "flatbuffers",
+ linkopts = ["-lflatbuffers"],
++ copts = ["-I%%LOCALBASE%%/include"],
+ visibility = ["//visibility:public"],
+ )
+
+@@ -16,6 +17,7 @@ cc_library(
+ cc_library(
+ name = "flatc_library",
+ linkopts = ["-lflatbuffers"],
++ copts = ["-I%%LOCALBASE%%/include"],
+ visibility = ["//visibility:public"],
+ )
+