Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/bazel/PKGBUILD
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 /community/bazel/PKGBUILD
parent1ea6fbb71009bd22fd54e70643e3ebc32b2bcd05 (diff)
community/bazel: patching singlejar to build on 32-bit
Diffstat (limited to 'community/bazel/PKGBUILD')
-rw-r--r--community/bazel/PKGBUILD5
1 files changed, 5 insertions, 0 deletions
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
+}