From c6a345d9e9f1a8ba433026e6bbe82e2567866c6d Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 15 Aug 2019 16:50:13 +0200 Subject: extra/java10-openjdk: did some patching to get it working on pentium4 (see also FS32#75) --- extra/java10-openjdk/PKGBUILD | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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}-}" -- cgit v1.2.3-70-g09d2