diff options
author | Alfred Persson Forsberg <cat@catcream.org> | 2022-07-05 20:02:01 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-17 20:31:31 +0000 |
commit | 1b86ab768f6633066ed4109f54aa5104169167c6 (patch) | |
tree | a72596f6a1c2dfc112ea3e36904ee15e60ce8f63 /x11-misc | |
parent | app-accessibility/speech-dispatcher: scrub patches; include commit link (diff) | |
download | gentoo-1b86ab768f6633066ed4109f54aa5104169167c6.tar.gz gentoo-1b86ab768f6633066ed4109f54aa5104169167c6.tar.bz2 gentoo-1b86ab768f6633066ed4109f54aa5104169167c6.zip |
dev-java/openjdk: Fix build for musl
On musl libc NULL is defined as nullptr for stdc++>=11, which breaks some implicit
conversions and reinterpret_cast's.
See: https://www.openwall.com/lists/musl/2013/01/09/1,
https://git.musl-libc.org/cgit/musl/tree/include/unistd.h#n20
This patch is taken from
https://git.alpinelinux.org/aports/tree/community/openjdk17/FixNullPtrCast.patch
Upstream PR: https://github.com/openjdk/jdk17u/pull/347
The master branch needed some additional fixing though which is not
included in this patch (for 17.0.3).
Signed-off-by: Alfred Persson Forsberg <cat@catcream.org>
Closes: https://github.com/gentoo/gentoo/pull/26238
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc')
0 files changed, 0 insertions, 0 deletions