Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package openjfx for openSUSE:Factory checked in at 2024-08-29 15:43:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openjfx (Old) and /work/SRC/openSUSE:Factory/.openjfx.new.2698 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openjfx" Thu Aug 29 15:43:23 2024 rev:5 rq:1197122 version:17.0.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/openjfx/openjfx.changes 2024-05-01 14:56:43.558504239 +0200 +++ /work/SRC/openSUSE:Factory/.openjfx.new.2698/openjfx.changes 2024-08-29 15:44:25.787879946 +0200 @@ -1,0 +2,11 @@ +Wed Aug 28 16:32:12 UTC 2024 - Fridrich Strba <[email protected]> + +- Added patches: + * openjfx-freetype.patch + * openjfx-libprism.patch + + fix new errors with gcc 14 +- Modified patch: + * openjfx-pango.patch + + fix new error with gcc 14 + +------------------------------------------------------------------- New: ---- openjfx-freetype.patch openjfx-libprism.patch BETA DEBUG BEGIN: New:- Added patches: * openjfx-freetype.patch * openjfx-libprism.patch New: * openjfx-freetype.patch * openjfx-libprism.patch + fix new errors with gcc 14 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openjfx.spec ++++++ --- /var/tmp/diff_new_pack.FKauVv/_old 2024-08-29 15:44:26.775920977 +0200 +++ /var/tmp/diff_new_pack.FKauVv/_new 2024-08-29 15:44:26.779921143 +0200 @@ -63,6 +63,8 @@ Source29: build.xml Patch0: openjfx-pango.patch Patch1: openjfx-no-return-in-nonvoid-function.patch +Patch2: openjfx-freetype.patch +Patch3: openjfx-libprism.patch BuildRequires: ant BuildRequires: gcc BuildRequires: gcc-c++ @@ -113,6 +115,8 @@ %setup -q -n %{jfx_dir} %patch -P 0 -p1 %patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 -p1 #prep for javafx.graphics cp -a modules/javafx.graphics/src/jslc/antlr modules/javafx.graphics/src/main/antlr3 ++++++ openjfx-freetype.patch ++++++ --- jfx/modules/javafx.graphics/src/main/native-font/freetype.c 2024-08-28 18:04:53.293373270 +0200 +++ jfx/modules/javafx.graphics/src/main/native-font/freetype.c 2024-08-28 18:05:34.693689191 +0200 @@ -520,7 +520,7 @@ if (info->lenCoords > SIZE_MAX - DEFAULT_LEN_COORDS) goto fail; info->lenCoords += DEFAULT_LEN_COORDS; - jbyte* newPointCoords = (jfloat*)realloc(info->pointCoords, info->lenCoords * sizeof(jfloat)); + jfloat* newPointCoords = (jfloat*)realloc(info->pointCoords, info->lenCoords * sizeof(jfloat)); if (newPointCoords == NULL) goto fail; info->pointCoords = newPointCoords; } ++++++ openjfx-libprism.patch ++++++ --- jfx/modules/javafx.graphics/src/main/native-prism-es2/x11/X11GLContext.c 2024-08-28 18:04:53.316706782 +0200 +++ jfx/modules/javafx.graphics/src/main/native-prism-es2/x11/X11GLContext.c 2024-08-28 18:27:44.753905337 +0200 @@ -275,7 +275,7 @@ dlsym(RTLD_DEFAULT, "glXSwapIntervalSGI"); if (ctxInfo->glXSwapIntervalSGI == NULL) { - ctxInfo->glXSwapIntervalSGI = glXGetProcAddress("glXSwapIntervalSGI"); + ctxInfo->glXSwapIntervalSGI = (void*)glXGetProcAddress("glXSwapIntervalSGI"); } } ++++++ openjfx-pango.patch ++++++ --- /var/tmp/diff_new_pack.FKauVv/_old 2024-08-29 15:44:26.887925629 +0200 +++ /var/tmp/diff_new_pack.FKauVv/_new 2024-08-29 15:44:26.887925629 +0200 @@ -1,6 +1,6 @@ ---- a/modules/javafx.graphics/src/main/native-font/pango.c -+++ b/modules/javafx.graphics/src/main/native-font/pango.c -@@ -243,7 +243,7 @@ JNIEXPORT jboolean JNICALL OS_NATIVE(FcConfigAppFontAddFile) +--- jfx/modules/javafx.graphics/src/main/native-font/pango.c 2024-08-28 18:04:53.293373270 +0200 ++++ jfx/modules/javafx.graphics/src/main/native-font/pango.c 2024-08-28 18:19:29.190065141 +0200 +@@ -243,7 +243,7 @@ if (text) { // rc = (jboolean)FcConfigAppFontAddFile(arg0, text); if (fp) { @@ -9,4 +9,13 @@ } (*env)->ReleaseStringUTFChars(env, arg1, text); } +@@ -402,7 +402,7 @@ + (JNIEnv *env, jclass that, jlong str, jlong pos) + { + if (!str) return 0; +- return (jlong)g_utf8_strlen((const gchar *)str, (const gchar *)pos); ++ return (jlong)g_utf8_strlen((const gchar *)str, (gssize)pos); + } + + JNIEXPORT jlong JNICALL OS_NATIVE(g_1utf16_1to_1utf8)
