Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-08-15 16:50:13 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-08-15 16:50:13 +0200
commitc6a345d9e9f1a8ba433026e6bbe82e2567866c6d (patch)
tree1a13b8097c03e7cfd2de3ef2355eb03ac96c6d9b /extra
parent3d0f44bc2393ae87a042b9fe69204954037af2ad (diff)
extra/java10-openjdk: did some patching to get it working on pentium4 (see also FS32#75)
Diffstat (limited to 'extra')
-rw-r--r--extra/java10-openjdk/PKGBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/extra/java10-openjdk/PKGBUILD b/extra/java10-openjdk/PKGBUILD
index 97c72063..bcfca6b7 100644
--- a/extra/java10-openjdk/PKGBUILD
+++ b/extra/java10-openjdk/PKGBUILD
@@ -5,8 +5,16 @@ fi
# pentium4-specific
if [ "${CARCH}" = "pentium4" ]; then
- _JARCH=i386
+ _JARCH=x86
_DOC_ARCH=x86
+
+ eval "$(
+ declare -f build | \
+ sed '
+ /CARCH/s/i686/pentium4/
+ '
+ )"
+
fi
_imgdir="${_imgdir//--/-${_JARCH}-}"