File 0002-fix-build-for-s390x.patch of Package bazel0.29

diff -ruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-bazel/src/conditions/BUILD ./src/conditions/BUILD
--- ../orig-bazel/src/conditions/BUILD	2019-12-02 17:29:24.692172896 +0100
+++ ./src/conditions/BUILD	2019-12-02 17:29:55.476790588 +0100
@@ -11,6 +11,12 @@
 )
 
 config_setting(
+    name = "linux_s390x",
+    values = {"cpu": "s390x"},
+    visibility = ["//visibility:public"],
+)
+
+config_setting(
     name = "linux_ppc",
     values = {"cpu": "ppc"},
     visibility = ["//visibility:public"],
diff -ruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-bazel/third_party/BUILD ./third_party/BUILD
--- ../orig-bazel/third_party/BUILD	2019-12-02 17:29:31.784315198 +0100
+++ ./third_party/BUILD	2019-12-02 17:30:15.361189561 +0100
@@ -527,6 +527,7 @@
     "//src/conditions:arm": "*.so *.jnilib *.dll",
     "//src/conditions:linux_aarch64": "*.so *.jnilib *.dll",
     "//src/conditions:linux_ppc": "*.so *.jnilib *.dll",
+    "//src/conditions:linux_s390x": "*.so *.jnilib *.dll",
     # Play it safe -- better have a big binary than a slow binary
     # zip -d does require an argument. Supply something bogus.
     "//conditions:default": "*.bogusextension",
openSUSE Build Service is sponsored by