FreeBSD Bugzilla – Attachment 136059 Details for
Bug 181124
java/eclipse-devel broken after glib-2.36.3 update
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.77 KB, created by
Jonathan Chen
on 2013-08-07 23:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Jonathan Chen
Created:
2013-08-07 23:10:00 UTC
Size:
1.77 KB
patch
obsolete
>diff -ruN /usr/ports/java/eclipse-devel/files/freebsd-support.patch ./files/freebsd-support.patch >--- /usr/ports/java/eclipse-devel/files/freebsd-support.patch 2013-03-04 08:41:41.347992087 +1300 >+++ ./files/freebsd-support.patch 2013-08-08 09:24:43.561696432 +1200 >@@ -2827,6 +2827,40 @@ > # GLX lib > # > make_glx: $(GLX_LIB) >+--- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h.orig 2012-06-28 01:39:42.000000000 +1200 >++++ build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h 2013-08-08 09:17:59.133694911 +1200 >+@@ -38,6 +38,11 @@ >+ >+ #define OS_LOAD_FUNCTION LOAD_FUNCTION >+ >++/* >++ g_thread_init() is non-existent in glib-2.36+ >++ */ >++#define NO__1g_1thread_1init >++ >+ #ifndef GDK_WINDOWING_X11 >+ >+ /* X Structures */ >+--- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c.orig 2013-08-08 09:18:14.525694799 +1200 >++++ build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c 2013-08-08 09:19:42.847695428 +1200 >+@@ -4434,11 +4434,17 @@ >+ JNIEXPORT jboolean JNICALL OS_NATIVE(_1g_1thread_1supported) >+ (JNIEnv *env, jclass that) >+ { >++ return 1; >++ /* >++ g_thread_supported is non-existent in glib-2.36+, >++ but is still referenced. >++ >+ jboolean rc = 0; >+ OS_NATIVE_ENTER(env, that, _1g_1thread_1supported_FUNC); >+ rc = (jboolean)g_thread_supported(); >+ OS_NATIVE_EXIT(env, that, _1g_1thread_1supported_FUNC); >+ return rc; >++ */ >+ } >+ #endif >+ > --- build.orig/eclipse-3.5.2-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java 2009-12-23 15:12:33.298742157 -0500 > +++ build/eclipse-3.5.2-src/plugins/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java 2009-12-23 15:14:12.577551971 -0500 > @@ -23,18 +23,19 @@
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 181124
: 136059