diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-08-29 18:15:06 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-08-29 18:15:06 +0200 |
commit | ec2c3a818e9517a6faf514f7cb654b2dfae2c0ce (patch) | |
tree | f52c2f65b276aefb0f038bbb871d1c4ff7c51673 /extra/java8-openjdk/PKGBUILD | |
parent | 85ed0d7704dfc7808e189f44ef1874ecc6165c96 (diff) | |
download | packages-ec2c3a818e9517a6faf514f7cb654b2dfae2c0ce.tar.xz |
extra/java8-openjdk: hotfix for readdir_r
Diffstat (limited to 'extra/java8-openjdk/PKGBUILD')
-rw-r--r-- | extra/java8-openjdk/PKGBUILD | 19 |
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/ + ' +)" |