diff options
author | Sam James <sam@gentoo.org> | 2024-03-06 15:18:41 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-06 15:21:36 +0000 |
commit | 6da9779d9b80919be7a96f11a5316f74746d4d0f (patch) | |
tree | 31a3fc84d6ab289204402f22166240dbc644efac /dev-java/openjfx/files/11/0003-c99.patch | |
parent | dev-lang/go: add 1.22.1 (diff) | |
download | gentoo-6da9779d9b80919be7a96f11a5316f74746d4d0f.tar.gz gentoo-6da9779d9b80919be7a96f11a5316f74746d4d0f.tar.bz2 gentoo-6da9779d9b80919be7a96f11a5316f74746d4d0f.zip |
dev-java/openjfx: various fixes to 11.x
I don't even know where to start with this, so I'll keep it brief before
I pop several veins.
* Filter LTO (bundled gstreamer breaks).
* Waste several hours debugging broken arg handling, despite inventing a DSL
for the build system, making the same errors as CMake. Most of the build
failure bugs linked are actually because of whitespace _somewhere_ within
{C,CXX,LD}FLAGS. Strip it.
* Respect AR, CC, CXX.
* Various Modern C fixes from Fedora (and are upstream).
Bug: https://bugs.gentoo.org/713488
Bug: https://bugs.gentoo.org/857942
Closes: https://bugs.gentoo.org/715092
Closes: https://bugs.gentoo.org/719484
Closes: https://bugs.gentoo.org/799227
Closes: https://bugs.gentoo.org/915727
Closes: https://bugs.gentoo.org/919413
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-java/openjfx/files/11/0003-c99.patch')
-rw-r--r-- | dev-java/openjfx/files/11/0003-c99.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-java/openjfx/files/11/0003-c99.patch b/dev-java/openjfx/files/11/0003-c99.patch new file mode 100644 index 000000000000..8779f882b799 --- /dev/null +++ b/dev-java/openjfx/files/11/0003-c99.patch @@ -0,0 +1,19 @@ +https://bugs.gentoo.org/919413 +https://src.fedoraproject.org/rpms/openjfx/c/9e893037f3a20273c79603220b7a18a44be60fcc?branch=rawhide + +8323077: C type error (incompatible function pointer) in X11GLContext.c + +Submitted upstream: <https://github.com/openjdk/jfx/pull/1319> + +--- a/modules/javafx.graphics/src/main/native-prism-es2/x11/X11GLContext.c ++++ b/modules/javafx.graphics/src/main/native-prism-es2/x11/X11GLContext.c +@@ -275,7 +275,8 @@ JNIEXPORT jlong JNICALL Java_com_sun_prism_es2_X11GLContext_nInitialize + dlsym(RTLD_DEFAULT, "glXSwapIntervalSGI"); + + if (ctxInfo->glXSwapIntervalSGI == NULL) { +- ctxInfo->glXSwapIntervalSGI = glXGetProcAddress("glXSwapIntervalSGI"); ++ ctxInfo->glXSwapIntervalSGI = (PFNGLXSWAPINTERVALSGIPROC) ++ glXGetProcAddress((const GLubyte *)"glXSwapIntervalSGI"); + } + + } |