Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package eclipse-swt for openSUSE:Factory checked in at 2022-06-18 22:06:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/eclipse-swt (Old) and /work/SRC/openSUSE:Factory/.eclipse-swt.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "eclipse-swt" Sat Jun 18 22:06:30 2022 rev:5 rq:983621 version:4.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/eclipse-swt/eclipse-swt.changes 2022-05-28 00:28:07.301654322 +0200 +++ /work/SRC/openSUSE:Factory/.eclipse-swt.new.1548/eclipse-swt.changes 2022-06-18 22:06:36.859692292 +0200 @@ -1,0 +2,7 @@ +Sat Jun 18 18:40:09 UTC 2022 - Fridrich Strba <[email protected]> + +- Added patch: + * eclipse-jintlong.patch + + fix several incoherences preventing correct JNI calls on x86 + +------------------------------------------------------------------- New: ---- eclipse-jintlong.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ eclipse-swt.spec ++++++ --- /var/tmp/diff_new_pack.KjhLOu/_old 2022-06-18 22:06:37.955693849 +0200 +++ /var/tmp/diff_new_pack.KjhLOu/_new 2022-06-18 22:06:37.959693855 +0200 @@ -52,6 +52,7 @@ Patch33: eclipse-ppc64.patch Patch35: eclipse-arm32.patch Patch37: eclipse-is64.patch +Patch38: eclipse-jintlong.patch Patch39: eclipse-gcc10.patch BuildRequires: ant >= 1.10.5 BuildRequires: gcc @@ -103,6 +104,7 @@ %patch33 -p1 %patch35 -p1 %patch37 -p1 +%patch38 -p1 %patch39 -p1 # This part generates secondary fragments using primary fragments ++++++ eclipse-jintlong.patch ++++++ --- "eclipse-platform-sources-I20180906-0745/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/internal/webkit/WebKitGTK.java" 2022-05-26 15:32:50.686679543 +0200 +++ "eclipse-platform-sources-I20180906-0745/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/internal/webkit/WebKitGTK.java" 2022-05-27 11:05:09.338042020 +0200 @@ -1945,9 +1945,9 @@ } /** @method flags=dynamic */ -public static final native void _webkit_web_context_set_web_extensions_initialization_user_data(long /* int */ context, long /* int */ user_data); -public static final void webkit_web_context_set_web_extensions_initialization_user_data(long /* int */ context, - long /* int */ user_data) { +public static final native void _webkit_web_context_set_web_extensions_initialization_user_data(long /*int*/ context, long /*int*/ user_data); +public static final void webkit_web_context_set_web_extensions_initialization_user_data(long /*int*/ context, + long /*int*/ user_data) { assert WEBKIT2; lock.lock(); try { --- "eclipse-platform-sources-I20180906-0745/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.c" 2022-05-26 15:32:50.706679667 +0200 +++ "eclipse-platform-sources-I20180906-0745/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.c" 2022-05-27 11:30:38.463916384 +0200 @@ -839,7 +839,7 @@ // Call the Java implementation to ensure AccessibleObjects are removed // from the HashMap on the Java side. if (private->has_accessible) { - returned_value = call_accessible_object_function("gObjectClass_finalize", "(J)J", object); + returned_value = call_accessible_object_function("gObjectClass_finalize", "(" I_J ")" I_J , object); if (returned_value != 0) g_critical ("Undefined behavior calling gObjectClass_finalize from C\n"); } @@ -1872,7 +1872,7 @@ // If the method ID isn't NULL if (mid == NULL) { - g_critical("JNI method ID pointer is NULL for method %s\n", method_name); + g_critical("JNI method ID pointer is NULL for method %s sig: %s\n", method_name, method_signature); return 0; } else { va_start(arg_list, method_signature); --- "eclipse-platform-sources-I20180906-0745/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.c" 2022-05-26 15:32:50.686679543 +0200 +++ "eclipse-platform-sources-I20180906-0745/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/library/webkitgtk.c" 2022-05-27 06:53:08.736787120 +0200 @@ -2422,7 +2422,7 @@ #ifndef NO__1webkit_1web_1context_1set_1web_1extensions_1initialization_1user_1data JNIEXPORT void JNICALL WebKitGTK_NATIVE(_1webkit_1web_1context_1set_1web_1extensions_1initialization_1user_1data) - (JNIEnv *env, jclass that, jlong arg0, jlong arg1) + (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) { WebKitGTK_NATIVE_ENTER(env, that, _1webkit_1web_1context_1set_1web_1extensions_1initialization_1user_1data_FUNC); /* @@ -2431,7 +2431,7 @@ { WebKitGTK_LOAD_FUNCTION(fp, webkit_web_context_set_web_extensions_initialization_user_data) if (fp) { - ((void (CALLING_CONVENTION*)(jlong, jlong))fp)(arg0, arg1); + ((void (CALLING_CONVENTION*)(jintLong, jintLong))fp)(arg0, arg1); } } WebKitGTK_NATIVE_EXIT(env, that, _1webkit_1web_1context_1set_1web_1extensions_1initialization_1user_1data_FUNC);
