Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-10-08 16:24:29 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-10-08 16:24:29 +0200
commite626c0f98665a1b20a947b267130f4e3ba7bee5f (patch)
tree75279e043335de3ed557608c462d24a50f57c97b
parent1ea6fbb71009bd22fd54e70643e3ebc32b2bcd05 (diff)
community/bazel: patching singlejar to build on 32-bit
-rw-r--r--blacklist1
-rw-r--r--community/bazel/PKGBUILD5
2 files changed, 5 insertions, 1 deletions
diff --git a/blacklist b/blacklist
index 457815e1..6c6273bb 100644
--- a/blacklist
+++ b/blacklist
@@ -1,5 +1,4 @@
archiso # the official package does not build an iso on i686
-# bazel
# dmd
# dolphin-emu
# embree # has never been an i686 package for arch, but might built for i686, actually
diff --git a/community/bazel/PKGBUILD b/community/bazel/PKGBUILD
index ea11932f..dbf28e9b 100644
--- a/community/bazel/PKGBUILD
+++ b/community/bazel/PKGBUILD
@@ -1 +1,6 @@
depends=("${depends[@]/java-environment>=8/java-environment=8}")
+
+prepare() {
+ sed -i 's|#error This code for 64 bit Unix|//#error This code for 64 bit Unix|g' \
+ ${srcdir}/src/tools/singlejar/mapped_file.h
+}