File json-feature-name.patch of Package tensorflow2

From 5325153ccbcc0e172b6af2e421cec79449beee14 Mon Sep 17 00:00:00 2001
From: Christian Goll <cgoll@suse.de>
Date: Mon, 10 Feb 2020 17:21:41 +0100
Subject: [PATCH 8/8] json feature name

---
 third_party/systemlibs/jsoncpp.BUILD | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/third_party/systemlibs/jsoncpp.BUILD b/third_party/systemlibs/jsoncpp.BUILD
index 0816930309..7a293e6c68 100644
--- a/third_party/systemlibs/jsoncpp.BUILD
+++ b/third_party/systemlibs/jsoncpp.BUILD
@@ -13,6 +13,7 @@ HEADERS = [
     "include/json/features.h",
     "include/json/forwards.h",
     "include/json/json.h",
+    "include/json/json_features.h",
     "include/json/reader.h",
     "include/json/value.h",
     "include/json/version.h",
@@ -27,6 +28,7 @@ genrule(
         i=$${i##*/}
         ln -sf $(INCLUDEDIR)/json/$$i $(@D)/include/json/$$i
       done
+      ln -sf $(INCLUDEDIR)/json/json_features.h $(@D)/include/json/features.h
     """,
 )
 
-- 
2.25.0

openSUSE Build Service is sponsored by