Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/java8-openjdk/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-08-30 16:47:33 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2018-08-30 16:47:33 +0000
commitafb43895ec8d4e1eab1e66eed5d2946f1e1807f8 (patch)
tree6f2a466244b483e0803e41d4948590b4736a3d62 /extra/java8-openjdk/PKGBUILD
parenta5ea8e098a2d7e119b7c2ccdef464d9b1151b16a (diff)
parent9cc261c47e0d72b4ba748ff8103b6b80d0a63c79 (diff)
Merge branch 'master' into i486
Diffstat (limited to 'extra/java8-openjdk/PKGBUILD')
-rw-r--r--extra/java8-openjdk/PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/extra/java8-openjdk/PKGBUILD b/extra/java8-openjdk/PKGBUILD
new file mode 100644
index 00000000..69209bb8
--- /dev/null
+++ b/extra/java8-openjdk/PKGBUILD
@@ -0,0 +1,19 @@
+# glibc 2.28 readdir_r -> readdir hotfix (or, let's hope readdir is
+# actually thread-safe internally)
+
+source+=('hotspot-jdk8u181-b13-readdir_r.patch')
+sha256sums+=('76b176e6ec65e90b1352cb42ebf6c47a11c9a632662c31ff413965d03e3a5d41')
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ /^}$/ i cd ${srcdir}/hotspot-${_repo_ver} && patch -Np1 < "${srcdir}/hotspot-jdk8u181-b13-readdir_r.patch"
+ '
+)"
+
+eval "$(
+ declare -f build | \
+ sed '
+ s/-Wno-error=deprecated-declarations/-Wno-error=deprecated-declarations -Wno-error=deprecated/
+ '
+)"