diff options
author | Vlastimil Babka <caster@gentoo.org> | 2006-12-06 21:22:27 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2006-12-06 21:22:27 +0000 |
commit | d40d1dc6e5f12f2acda41ce64ff9e945d139b4d7 (patch) | |
tree | 6c4afa611469eb926f85deda8b5df48639a4e8ad /dev-java/swt/files | |
parent | Apply the seamonkey patches to fix bug #155725 for ppc. Thanks to David Gurvi... (diff) | |
download | gentoo-2-d40d1dc6e5f12f2acda41ce64ff9e945d139b4d7.tar.gz gentoo-2-d40d1dc6e5f12f2acda41ce64ff9e945d139b4d7.tar.bz2 gentoo-2-d40d1dc6e5f12f2acda41ce64ff9e945d139b4d7.zip |
Apply the seamonkey patches to fix bug #155725 for ppc. Thanks to David Gurvich <david.gurvich@verizon.net> for testing them. Patches are now packed in distfile.
(Portage version: 2.1.2_rc2-r5)
(Unsigned Manifest commit)
Diffstat (limited to 'dev-java/swt/files')
8 files changed, 0 insertions, 636 deletions
diff --git a/dev-java/swt/files/patches-3.2.1/10_all_gcc-4.x-warning-fix.patch b/dev-java/swt/files/patches-3.2.1/10_all_gcc-4.x-warning-fix.patch deleted file mode 100644 index f9a8116c0857..000000000000 --- a/dev-java/swt/files/patches-3.2.1/10_all_gcc-4.x-warning-fix.patch +++ /dev/null @@ -1,66 +0,0 @@ -# Patch for GCC 4.x warnings ---- src/os.c 2006-07-16 17:14:17.000000000 -0500 -+++ src/os.c 2006-07-16 17:16:04.000000000 -0500 -@@ -2618,7 +2618,7 @@ - OS_NATIVE_ENTER(env, that, _1g_1object_1get_FUNC); - if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; - if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail; -- g_object_get((GObject *)arg0, (const gchar *)lparg1, lparg2, arg3); -+ g_object_get((GObject *)arg0, (const gchar *)lparg1, lparg2, arg3, (char *)NULL); - fail: - if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0); - if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, JNI_ABORT); -@@ -2669,7 +2669,7 @@ - jbyte *lparg1=NULL; - OS_NATIVE_ENTER(env, that, _1g_1object_1set__I_3BFI_FUNC); - if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; -- g_object_set((gpointer)arg0, (const gchar *)lparg1, arg2, arg3); -+ g_object_set((gpointer)arg0, (const gchar *)lparg1, arg2, arg3, (char *)NULL); - fail: - if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, JNI_ABORT); - OS_NATIVE_EXIT(env, that, _1g_1object_1set__I_3BFI_FUNC); -@@ -2683,7 +2683,7 @@ - jbyte *lparg1=NULL; - OS_NATIVE_ENTER(env, that, _1g_1object_1set__I_3BII_FUNC); - if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; -- g_object_set((gpointer)arg0, (const gchar *)lparg1, arg2, arg3); -+ g_object_set((gpointer)arg0, (const gchar *)lparg1, arg2, arg3, (char *)NULL); - fail: - if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, JNI_ABORT); - OS_NATIVE_EXIT(env, that, _1g_1object_1set__I_3BII_FUNC); -@@ -2697,7 +2697,7 @@ - jbyte *lparg1=NULL; - OS_NATIVE_ENTER(env, that, _1g_1object_1set__I_3BJI_FUNC); - if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; -- g_object_set((gpointer)arg0, (const gchar *)lparg1, arg2, arg3); -+ g_object_set((gpointer)arg0, (const gchar *)lparg1, arg2, arg3, (char *)NULL); - fail: - if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, JNI_ABORT); - OS_NATIVE_EXIT(env, that, _1g_1object_1set__I_3BJI_FUNC); -@@ -2711,7 +2711,7 @@ - jbyte *lparg1=NULL; - OS_NATIVE_ENTER(env, that, _1g_1object_1set__I_3BZI_FUNC); - if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; -- g_object_set((gpointer)arg0, (const gchar *)lparg1, arg2, arg3); -+ g_object_set((gpointer)arg0, (const gchar *)lparg1, arg2, arg3, (char *)NULL); - fail: - if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, JNI_ABORT); - OS_NATIVE_EXIT(env, that, _1g_1object_1set__I_3BZI_FUNC); -@@ -12197,7 +12197,7 @@ - OS_NATIVE_ENTER(env, that, _1gtk_1widget_1style_1get__I_3B_3II_FUNC); - if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; - if (arg2) if ((lparg2 = (*env)->GetIntArrayElements(env, arg2, NULL)) == NULL) goto fail; -- gtk_widget_style_get((GtkWidget *)arg0, (const gchar *)lparg1, lparg2, arg3); -+ gtk_widget_style_get((GtkWidget *)arg0, (const gchar *)lparg1, lparg2, arg3, (char *)NULL); - fail: - if (arg2 && lparg2) (*env)->ReleaseIntArrayElements(env, arg2, lparg2, 0); - if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); -@@ -12214,7 +12214,7 @@ - OS_NATIVE_ENTER(env, that, _1gtk_1widget_1style_1get__I_3B_3JI_FUNC); - if (arg1) if ((lparg1 = (*env)->GetByteArrayElements(env, arg1, NULL)) == NULL) goto fail; - if (arg2) if ((lparg2 = (*env)->GetLongArrayElements(env, arg2, NULL)) == NULL) goto fail; -- gtk_widget_style_get((GtkWidget *)arg0, (const gchar *)lparg1, lparg2, arg3); -+ gtk_widget_style_get((GtkWidget *)arg0, (const gchar *)lparg1, lparg2, arg3, (char *)NULL); - fail: - if (arg2 && lparg2) (*env)->ReleaseLongArrayElements(env, arg2, lparg2, 0); - if (arg1 && lparg1) (*env)->ReleaseByteArrayElements(env, arg1, lparg1, 0); diff --git a/dev-java/swt/files/patches-3.2.1/20_all_remove-stripping.patch b/dev-java/swt/files/patches-3.2.1/20_all_remove-stripping.patch deleted file mode 100644 index 0698d7fc4cd6..000000000000 --- a/dev-java/swt/files/patches-3.2.1/20_all_remove-stripping.patch +++ /dev/null @@ -1,36 +0,0 @@ -# https://bugs.eclipse.org/bugs/show_bug.cgi?id=165097 ---- make_linux.mak.old 2006-11-19 18:11:38.000000000 +0200 -+++ make_linux.mak 2006-11-19 18:20:00.000000000 +0200 -@@ -52,7 +52,7 @@ - - CDE_LIBS = -L$(CDE_HOME)/lib -R$(CDE_HOME)/lib -lXt -lX11 -lDtSvc - --AWT_LIBS = -L$(AWT_LIB_PATH) -ljawt -shared -s -+AWT_LIBS = -L$(AWT_LIB_PATH) -ljawt -shared - - ATKCFLAGS = `pkg-config --cflags atk gtk+-2.0` - ATKLIBS = `pkg-config --libs-only-L atk gtk+-2.0` -latk-1.0 -lgtk-x11-2.0 -@@ -80,7 +80,7 @@ - -I$(JAVA_HOME)/include \ - -I$(JAVA_HOME)/include/linux \ - ${SWT_PTR_CFLAGS} --MOZILLALIBS = -shared -s -Wl,--version-script=mozilla_exports -Bsymbolic -+MOZILLALIBS = -shared -Wl,--version-script=mozilla_exports -Bsymbolic - - SWT_OBJECTS = swt.o callback.o - CDE_OBJECTS = swt.o cde.o cde_structs.o cde_stats.o -@@ -103,8 +103,13 @@ - -I$(JAVA_HOME)/include/linux \ - -fPIC \ - ${SWT_PTR_CFLAGS} --LIBS = -shared -fPIC -s -+LIBS = -shared -fPIC - -+ifndef NO_STRIP -+ AWT_LIBS := $(AWT_LIBS) -s -+ MOZILLALIBS := $(MOZILLALIBS) -S -+ LIBS := $(LIBS) -s -+endif - - all: make_swt make_atk make_gnome make_glx - diff --git a/dev-java/swt/files/patches-3.2.1/30_amd64_libswt-xpcomgcc4.patch b/dev-java/swt/files/patches-3.2.1/30_amd64_libswt-xpcomgcc4.patch deleted file mode 100644 index 1c70cc057f56..000000000000 --- a/dev-java/swt/files/patches-3.2.1/30_amd64_libswt-xpcomgcc4.patch +++ /dev/null @@ -1,103 +0,0 @@ -# fix building with seamonkey, bug #156716 and #155725 -diff -urN ../tmp-orig/swt-gtk-3.1/xpcom.cpp ./xpcom.cpp ---- ../tmp-orig/swt-gtk-3.1/xpcom.cpp 2005-02-03 01:06:52.000000000 +0000 -+++ ./xpcom.cpp 2005-09-10 08:22:37.000000000 +0000 -@@ -141,7 +141,7 @@ - { - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, PR_1Malloc_FUNC); -- rc = (jlong)PR_Malloc(arg0); -+ rc = (long)PR_Malloc(arg0); - XPCOM_NATIVE_EXIT(env, that, PR_1Malloc_FUNC); - return rc; - } -@@ -1868,7 +1868,7 @@ - { - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsEmbedCString_1get_FUNC); -- rc = (jlong)((nsEmbedCString *)arg0)->get(); -+ rc = (long)((nsEmbedCString *)arg0)->get(); - XPCOM_NATIVE_EXIT(env, that, nsEmbedCString_1get_FUNC); - return rc; - } -@@ -1880,7 +1880,7 @@ - { - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsEmbedCString_1new___FUNC); -- rc = (jlong)new nsEmbedCString(); -+ rc = (long)new nsEmbedCString(); - XPCOM_NATIVE_EXIT(env, that, nsEmbedCString_1new___FUNC); - return rc; - } -@@ -1894,7 +1894,7 @@ - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsEmbedCString_1new___3BI_FUNC); - if (arg0) if ((lparg0 = env->GetByteArrayElements(arg0, NULL)) == NULL) goto fail; -- rc = (jlong)new nsEmbedCString((const char *)lparg0, arg1); -+ rc = (long)new nsEmbedCString((const char *)lparg0, arg1); - fail: - if (arg0 && lparg0) env->ReleaseByteArrayElements(arg0, lparg0, 0); - XPCOM_NATIVE_EXIT(env, that, nsEmbedCString_1new___3BI_FUNC); -@@ -1908,7 +1908,7 @@ - { - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsEmbedString_1Length_FUNC); -- rc = (jint)((nsEmbedString *)arg0)->Length(); -+ rc = (long)((nsEmbedString *)arg0)->Length(); - XPCOM_NATIVE_EXIT(env, that, nsEmbedString_1Length_FUNC); - return rc; - } -@@ -1930,7 +1930,7 @@ - { - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsEmbedString_1get_FUNC); -- rc = (jlong)((nsEmbedString *)arg0)->get(); -+ rc = (long)((nsEmbedString *)arg0)->get(); - XPCOM_NATIVE_EXIT(env, that, nsEmbedString_1get_FUNC); - return rc; - } -@@ -1942,7 +1942,7 @@ - { - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsEmbedString_1new___FUNC); -- rc = (jlong)new nsEmbedString(); -+ rc = (long)new nsEmbedString(); - XPCOM_NATIVE_EXIT(env, that, nsEmbedString_1new___FUNC); - return rc; - } -@@ -1956,7 +1956,7 @@ - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsEmbedString_1new___3C_FUNC); - if (arg0) if ((lparg0 = env->GetCharArrayElements(arg0, NULL)) == NULL) goto fail; -- rc = (jlong)new nsEmbedString(lparg0); -+ rc = (long)new nsEmbedString(lparg0); - fail: - if (arg0 && lparg0) env->ReleaseCharArrayElements(arg0, lparg0, 0); - XPCOM_NATIVE_EXIT(env, that, nsEmbedString_1new___3C_FUNC); -@@ -1970,7 +1970,7 @@ - { - jboolean rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsID_1Equals_FUNC); -- rc = (jboolean)((nsID *)arg0)->Equals(*(nsID *)arg1); -+ rc = (long)((nsID *)arg0)->Equals(*(nsID *)arg1); - XPCOM_NATIVE_EXIT(env, that, nsID_1Equals_FUNC); - return rc; - } -@@ -1984,7 +1984,7 @@ - jboolean rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsID_1Parse_FUNC); - if (arg1) if ((lparg1 = env->GetStringUTFChars(arg1, NULL)) == NULL) goto fail; -- rc = (jboolean)((nsID *)arg0)->Parse((const char *)lparg1); -+ rc = (long)((nsID *)arg0)->Parse((const char *)lparg1); - fail: - if (arg1 && lparg1) env->ReleaseStringUTFChars(arg1, lparg1); - XPCOM_NATIVE_EXIT(env, that, nsID_1Parse_FUNC); -@@ -2008,7 +2008,7 @@ - { - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsID_1new_FUNC); -- rc = (jlong)new nsID(); -+ rc = (long)new nsID(); - XPCOM_NATIVE_EXIT(env, that, nsID_1new_FUNC); - return rc; - } diff --git a/dev-java/swt/files/patches-3.2.1/30_x86_libswt-xpcomgcc4.patch b/dev-java/swt/files/patches-3.2.1/30_x86_libswt-xpcomgcc4.patch deleted file mode 100644 index 7cab5cdc6f56..000000000000 --- a/dev-java/swt/files/patches-3.2.1/30_x86_libswt-xpcomgcc4.patch +++ /dev/null @@ -1,103 +0,0 @@ -# fix building with seamonkey, bug #156716 and #155725 -diff -urN ../tmp-orig/swt-gtk-3.1/xpcom.cpp ./xpcom.cpp ---- ../tmp-orig/swt-gtk-3.1/xpcom.cpp 2005-02-03 01:06:52.000000000 +0000 -+++ ./xpcom.cpp 2005-09-10 08:22:37.000000000 +0000 -@@ -141,7 +141,7 @@ - { - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, PR_1Malloc_FUNC); -- rc = (jint)PR_Malloc(arg0); -+ rc = (long)PR_Malloc(arg0); - XPCOM_NATIVE_EXIT(env, that, PR_1Malloc_FUNC); - return rc; - } -@@ -1868,7 +1868,7 @@ - { - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsEmbedCString_1get_FUNC); -- rc = (jint)((nsEmbedCString *)arg0)->get(); -+ rc = (long)((nsEmbedCString *)arg0)->get(); - XPCOM_NATIVE_EXIT(env, that, nsEmbedCString_1get_FUNC); - return rc; - } -@@ -1880,7 +1880,7 @@ - { - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsEmbedCString_1new___FUNC); -- rc = (jint)new nsEmbedCString(); -+ rc = (long)new nsEmbedCString(); - XPCOM_NATIVE_EXIT(env, that, nsEmbedCString_1new___FUNC); - return rc; - } -@@ -1894,7 +1894,7 @@ - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsEmbedCString_1new___3BI_FUNC); - if (arg0) if ((lparg0 = env->GetByteArrayElements(arg0, NULL)) == NULL) goto fail; -- rc = (jint)new nsEmbedCString((const char *)lparg0, arg1); -+ rc = (long)new nsEmbedCString((const char *)lparg0, arg1); - fail: - if (arg0 && lparg0) env->ReleaseByteArrayElements(arg0, lparg0, 0); - XPCOM_NATIVE_EXIT(env, that, nsEmbedCString_1new___3BI_FUNC); -@@ -1908,7 +1908,7 @@ - { - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsEmbedString_1Length_FUNC); -- rc = (jint)((nsEmbedString *)arg0)->Length(); -+ rc = (long)((nsEmbedString *)arg0)->Length(); - XPCOM_NATIVE_EXIT(env, that, nsEmbedString_1Length_FUNC); - return rc; - } -@@ -1930,7 +1930,7 @@ - { - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsEmbedString_1get_FUNC); -- rc = (jint)((nsEmbedString *)arg0)->get(); -+ rc = (long)((nsEmbedString *)arg0)->get(); - XPCOM_NATIVE_EXIT(env, that, nsEmbedString_1get_FUNC); - return rc; - } -@@ -1942,7 +1942,7 @@ - { - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsEmbedString_1new___FUNC); -- rc = (jint)new nsEmbedString(); -+ rc = (long)new nsEmbedString(); - XPCOM_NATIVE_EXIT(env, that, nsEmbedString_1new___FUNC); - return rc; - } -@@ -1956,7 +1956,7 @@ - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsEmbedString_1new___3C_FUNC); - if (arg0) if ((lparg0 = env->GetCharArrayElements(arg0, NULL)) == NULL) goto fail; -- rc = (jint)new nsEmbedString(lparg0); -+ rc = (long)new nsEmbedString(lparg0); - fail: - if (arg0 && lparg0) env->ReleaseCharArrayElements(arg0, lparg0, 0); - XPCOM_NATIVE_EXIT(env, that, nsEmbedString_1new___3C_FUNC); -@@ -1970,7 +1970,7 @@ - { - jboolean rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsID_1Equals_FUNC); -- rc = (jboolean)((nsID *)arg0)->Equals(*(nsID *)arg1); -+ rc = (long)((nsID *)arg0)->Equals(*(nsID *)arg1); - XPCOM_NATIVE_EXIT(env, that, nsID_1Equals_FUNC); - return rc; - } -@@ -1984,7 +1984,7 @@ - jboolean rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsID_1Parse_FUNC); - if (arg1) if ((lparg1 = env->GetStringUTFChars(arg1, NULL)) == NULL) goto fail; -- rc = (jboolean)((nsID *)arg0)->Parse((const char *)lparg1); -+ rc = (long)((nsID *)arg0)->Parse((const char *)lparg1); - fail: - if (arg1 && lparg1) env->ReleaseStringUTFChars(arg1, lparg1); - XPCOM_NATIVE_EXIT(env, that, nsID_1Parse_FUNC); -@@ -2008,7 +2008,7 @@ - { - jint rc = 0; - XPCOM_NATIVE_ENTER(env, that, nsID_1new_FUNC); -- rc = (jint)new nsID(); -+ rc = (long)new nsID(); - XPCOM_NATIVE_EXIT(env, that, nsID_1new_FUNC); - return rc; - } diff --git a/dev-java/swt/files/patches-3.2.1/31_amd64_firefox.patch b/dev-java/swt/files/patches-3.2.1/31_amd64_firefox.patch deleted file mode 100644 index 66847728f976..000000000000 --- a/dev-java/swt/files/patches-3.2.1/31_amd64_firefox.patch +++ /dev/null @@ -1,153 +0,0 @@ -# fix building with seamonkey, bug #156716 and #155725 -diff -u -r1.33.2.1 make_linux.mak ---- make_linux.mak 26 Jul 2006 16:33:23 -0000 1.33.2.1 -+++ make_linux.mak 29 Sep 2006 13:21:51 -0000 -@@ -202,7 +202,7 @@ - # - # Mozilla lib - # --make_mozilla:$(MOZILLA_LIB) $(PROFILE14_LIB) $(PROFILE17_LIB) $(PROFILE18_LIB) -+make_mozilla:$(MOZILLA_LIB) - - $(MOZILLA_LIB): $(MOZILLA_OBJECTS) - $(CXX) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALIBS) ${GECKO_LIBS} -@@ -220,22 +220,22 @@ - $(CXX) $(MOZILLACFLAGS) ${GECKO_INCLUDES} -c xpcom_stats.cpp - - $(PROFILE14_OBJECTS): xpcom_profile.cpp -- $(CXX) -o $(PROFILE14_OBJECTS) $(MOZILLACFLAGS) ${PROFILE14_INCLUDES} -c xpcom_profile.cpp -+ $(CXX) -o $(PROFILE14_OBJECTS) $(MOZILLACFLAGS) ${PROFILE14_INCLUDES} ${GECKO_INCLUDES} -c xpcom_profile.cpp - - $(PROFILE17_OBJECTS): xpcom_profile.cpp -- $(CXX) -o $(PROFILE17_OBJECTS) $(MOZILLACFLAGS) ${PROFILE17_INCLUDES} -c xpcom_profile.cpp -+ $(CXX) -o $(PROFILE17_OBJECTS) $(MOZILLACFLAGS) ${PROFILE17_INCLUDES} ${GECKO_INCLUDES} -c xpcom_profile.cpp - - $(PROFILE18_OBJECTS): xpcom_profile.cpp -- $(CXX) -o $(PROFILE18_OBJECTS) $(MOZILLACFLAGS) ${PROFILE18_INCLUDES} -c xpcom_profile.cpp -+ $(CXX) -o $(PROFILE18_OBJECTS) $(MOZILLACFLAGS) ${PROFILE18_INCLUDES} ${GECKO_INCLUDES} -c xpcom_profile.cpp - - $(PROFILE14_LIB): $(PROFILE14_OBJECTS) -- $(CXX) -o $(PROFILE14_LIB) $(PROFILE14_OBJECTS) $(MOZILLALIBS) ${PROFILE14_LIBS} -+ $(CXX) -o $(PROFILE14_LIB) $(PROFILE14_OBJECTS) $(MOZILLALIBS) ${PROFILE14_LIBS} ${GECKO_LIBS} - - $(PROFILE17_LIB): $(PROFILE17_OBJECTS) -- $(CXX) -o $(PROFILE17_LIB) $(PROFILE17_OBJECTS) $(MOZILLALIBS) ${PROFILE17_LIBS} -+ $(CXX) -o $(PROFILE17_LIB) $(PROFILE17_OBJECTS) $(MOZILLALIBS) ${PROFILE17_LIBS} ${GECKO_LIBS} - - $(PROFILE18_LIB): $(PROFILE18_OBJECTS) -- $(CXX) -o $(PROFILE18_LIB) $(PROFILE18_OBJECTS) $(MOZILLALIBS) ${PROFILE18_LIBS} -+ $(CXX) -o $(PROFILE18_LIB) $(PROFILE18_OBJECTS) $(MOZILLALIBS) ${PROFILE18_LIBS} ${GECKO_LIBS} - - # - # GLX lib -@@ -264,4 +264,4 @@ - # Clean - # - clean: -- rm -f *.o *.so -+ rm -f *.o *.so -\ No newline at end of file -diff -u -r1.15.2.1 xpcom_stats.cpp ---- xpcom_stats.cpp 26 Jul 2006 16:33:23 -0000 1.15.2.1 -+++ xpcom_stats.cpp 29 Sep 2006 13:21:49 -0000 -@@ -31,15 +31,14 @@ - - #ifdef NATIVE_STATS - --int XPCOM_nativeFunctionCount = 132; --int XPCOM_nativeFunctionCallCount[132]; -+int XPCOM_nativeFunctionCount = 131; -+int XPCOM_nativeFunctionCallCount[131]; - char * XPCOM_nativeFunctionNames[] = { - "Call", - "NS_1GetComponentManager", - "NS_1GetServiceManager", -- "NS_1InitEmbedding", -+ "NS_1InitXPCOM3_FUNC", - "NS_1NewLocalFile", -- "NS_1TermEmbedding", - "PR_1Free", - "PR_1Malloc", - "VtblCall__II", -diff -u -r1.1.2.1 xpcom_profile.h ---- xpcom_profile.h 26 Jul 2006 16:33:23 -0000 1.1.2.1 -+++ xpcom_profile.h 29 Sep 2006 13:21:48 -0000 -@@ -32,7 +32,7 @@ - #define NDEBUG - - #include "nsCOMPtr.h" --#include "nsProfileDirServiceProvider.h" -+#include "profdirserviceprovider/nsProfileDirServiceProvider.h" - #include "xpcom_stats.h" - - #endif /* INC_xpcom_profile_H */ -diff -u -r1.6.2.1 xpcom.h ---- xpcom.h 26 Jul 2006 16:33:23 -0000 1.6.2.1 -+++ xpcom.h 29 Sep 2006 13:21:48 -0000 -@@ -32,7 +32,6 @@ - #define NDEBUG - - #include "nsXPCOM.h" --#include "nsEmbedAPI.h" - #include "nsEmbedString.h" - #include "nsIInputStream.h" - #include "nsISupportsUtils.h" -diff -u -r1.29.2.1 xpcom.cpp ---- xpcom.cpp 26 Jul 2006 16:33:23 -0000 1.29.2.1 -+++ xpcom.cpp 29 Sep 2006 13:21:48 -0000 -@@ -85,14 +85,16 @@ - } - #endif - --#ifndef NO_NS_1InitEmbedding --JNIEXPORT jint JNICALL XPCOM_NATIVE(NS_1InitEmbedding) -- (JNIEnv *env, jclass that, jlong arg0, jlong arg1) -+#ifndef NO_NS_1InitXPCOM3 -+JNIEXPORT jint JNICALL XPCOM_NATIVE(NS_1InitXPCOM3) -+ (JNIEnv *env, jclass that, jlong arg0, jlong arg1, jlong arg2, jlong arg3, jlong arg4) - { - jint rc = 0; -- XPCOM_NATIVE_ENTER(env, that, NS_1InitEmbedding_FUNC); -- rc = (jint)NS_InitEmbedding((nsILocalFile *)arg0, (nsIDirectoryServiceProvider *)arg1); -- XPCOM_NATIVE_EXIT(env, that, NS_1InitEmbedding_FUNC); -+ XPCOM_NATIVE_ENTER(env, that, NS_1GetComponentRegistrar_FUNC); -+ rc = (jint)NS_InitXPCOM3((nsIServiceManager **)arg0, (nsIFile *)arg1, -+ (nsIDirectoryServiceProvider *)arg2, (nsStaticModuleInfo *)arg3, -+ (PRUint32) arg4); -+ XPCOM_NATIVE_EXIT(env, that, NS_1GetComponentRegistrar_FUNC); - return rc; - } - #endif -@@ -113,18 +115,6 @@ - } - #endif - --#ifndef NO_NS_1TermEmbedding --JNIEXPORT jint JNICALL XPCOM_NATIVE(NS_1TermEmbedding) -- (JNIEnv *env, jclass that) --{ -- jint rc = 0; -- XPCOM_NATIVE_ENTER(env, that, NS_1TermEmbedding_FUNC); -- rc = (jint)NS_TermEmbedding(); -- XPCOM_NATIVE_EXIT(env, that, NS_1TermEmbedding_FUNC); -- return rc; --} --#endif -- - #ifndef NO_PR_1Free - JNIEXPORT void JNICALL XPCOM_NATIVE(PR_1Free) - (JNIEnv *env, jclass that, jint arg0) -diff -u -r1.14.2.1 xpcom_stats.h ---- xpcom_stats.h 26 Jul 2006 16:33:23 -0000 1.14.2.1 -+++ xpcom_stats.h 29 Sep 2006 13:21:49 -0000 -@@ -41,9 +41,8 @@ - Call_FUNC, - NS_1GetComponentManager_FUNC, - NS_1GetServiceManager_FUNC, -- NS_1InitEmbedding_FUNC, -+ NS_1InitXPCOM3_FUNC, - NS_1NewLocalFile_FUNC, -- NS_1TermEmbedding_FUNC, - PR_1Free_FUNC, - PR_1Malloc_FUNC, - VtblCall__II_FUNC, diff --git a/dev-java/swt/files/patches-3.2.1/31_x86_firefox.patch b/dev-java/swt/files/patches-3.2.1/31_x86_firefox.patch deleted file mode 100644 index 70a6c762cf5c..000000000000 --- a/dev-java/swt/files/patches-3.2.1/31_x86_firefox.patch +++ /dev/null @@ -1,153 +0,0 @@ -# fix building with seamonkey, bug #156716 and #155725 -diff -u -r1.33.2.1 make_linux.mak ---- make_linux.mak 26 Jul 2006 16:33:23 -0000 1.33.2.1 -+++ make_linux.mak 29 Sep 2006 13:21:51 -0000 -@@ -202,7 +202,7 @@ - # - # Mozilla lib - # --make_mozilla:$(MOZILLA_LIB) $(PROFILE14_LIB) $(PROFILE17_LIB) $(PROFILE18_LIB) -+make_mozilla:$(MOZILLA_LIB) - - $(MOZILLA_LIB): $(MOZILLA_OBJECTS) - $(CXX) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALIBS) ${GECKO_LIBS} -@@ -220,22 +220,22 @@ - $(CXX) $(MOZILLACFLAGS) ${GECKO_INCLUDES} -c xpcom_stats.cpp - - $(PROFILE14_OBJECTS): xpcom_profile.cpp -- $(CXX) -o $(PROFILE14_OBJECTS) $(MOZILLACFLAGS) ${PROFILE14_INCLUDES} -c xpcom_profile.cpp -+ $(CXX) -o $(PROFILE14_OBJECTS) $(MOZILLACFLAGS) ${PROFILE14_INCLUDES} ${GECKO_INCLUDES} -c xpcom_profile.cpp - - $(PROFILE17_OBJECTS): xpcom_profile.cpp -- $(CXX) -o $(PROFILE17_OBJECTS) $(MOZILLACFLAGS) ${PROFILE17_INCLUDES} -c xpcom_profile.cpp -+ $(CXX) -o $(PROFILE17_OBJECTS) $(MOZILLACFLAGS) ${PROFILE17_INCLUDES} ${GECKO_INCLUDES} -c xpcom_profile.cpp - - $(PROFILE18_OBJECTS): xpcom_profile.cpp -- $(CXX) -o $(PROFILE18_OBJECTS) $(MOZILLACFLAGS) ${PROFILE18_INCLUDES} -c xpcom_profile.cpp -+ $(CXX) -o $(PROFILE18_OBJECTS) $(MOZILLACFLAGS) ${PROFILE18_INCLUDES} ${GECKO_INCLUDES} -c xpcom_profile.cpp - - $(PROFILE14_LIB): $(PROFILE14_OBJECTS) -- $(CXX) -o $(PROFILE14_LIB) $(PROFILE14_OBJECTS) $(MOZILLALIBS) ${PROFILE14_LIBS} -+ $(CXX) -o $(PROFILE14_LIB) $(PROFILE14_OBJECTS) $(MOZILLALIBS) ${PROFILE14_LIBS} ${GECKO_LIBS} - - $(PROFILE17_LIB): $(PROFILE17_OBJECTS) -- $(CXX) -o $(PROFILE17_LIB) $(PROFILE17_OBJECTS) $(MOZILLALIBS) ${PROFILE17_LIBS} -+ $(CXX) -o $(PROFILE17_LIB) $(PROFILE17_OBJECTS) $(MOZILLALIBS) ${PROFILE17_LIBS} ${GECKO_LIBS} - - $(PROFILE18_LIB): $(PROFILE18_OBJECTS) -- $(CXX) -o $(PROFILE18_LIB) $(PROFILE18_OBJECTS) $(MOZILLALIBS) ${PROFILE18_LIBS} -+ $(CXX) -o $(PROFILE18_LIB) $(PROFILE18_OBJECTS) $(MOZILLALIBS) ${PROFILE18_LIBS} ${GECKO_LIBS} - - # - # GLX lib -@@ -264,4 +264,4 @@ - # Clean - # - clean: -- rm -f *.o *.so -+ rm -f *.o *.so -\ No newline at end of file -diff -u -r1.15.2.1 xpcom_stats.cpp ---- xpcom_stats.cpp 26 Jul 2006 16:33:23 -0000 1.15.2.1 -+++ xpcom_stats.cpp 29 Sep 2006 13:21:49 -0000 -@@ -31,15 +31,14 @@ - - #ifdef NATIVE_STATS - --int XPCOM_nativeFunctionCount = 132; --int XPCOM_nativeFunctionCallCount[132]; -+int XPCOM_nativeFunctionCount = 131; -+int XPCOM_nativeFunctionCallCount[131]; - char * XPCOM_nativeFunctionNames[] = { - "Call", - "NS_1GetComponentManager", - "NS_1GetServiceManager", -- "NS_1InitEmbedding", -+ "NS_1InitXPCOM3_FUNC", - "NS_1NewLocalFile", -- "NS_1TermEmbedding", - "PR_1Free", - "PR_1Malloc", - "VtblCall__II", -diff -u -r1.1.2.1 xpcom_profile.h ---- xpcom_profile.h 26 Jul 2006 16:33:23 -0000 1.1.2.1 -+++ xpcom_profile.h 29 Sep 2006 13:21:48 -0000 -@@ -32,7 +32,7 @@ - #define NDEBUG - - #include "nsCOMPtr.h" --#include "nsProfileDirServiceProvider.h" -+#include "profdirserviceprovider/nsProfileDirServiceProvider.h" - #include "xpcom_stats.h" - - #endif /* INC_xpcom_profile_H */ -diff -u -r1.6.2.1 xpcom.h ---- xpcom.h 26 Jul 2006 16:33:23 -0000 1.6.2.1 -+++ xpcom.h 29 Sep 2006 13:21:48 -0000 -@@ -32,7 +32,6 @@ - #define NDEBUG - - #include "nsXPCOM.h" --#include "nsEmbedAPI.h" - #include "nsEmbedString.h" - #include "nsIInputStream.h" - #include "nsISupportsUtils.h" -diff -u -r1.29.2.1 xpcom.cpp ---- xpcom.cpp 26 Jul 2006 16:33:23 -0000 1.29.2.1 -+++ xpcom.cpp 29 Sep 2006 13:21:48 -0000 -@@ -85,14 +85,16 @@ - } - #endif - --#ifndef NO_NS_1InitEmbedding --JNIEXPORT jint JNICALL XPCOM_NATIVE(NS_1InitEmbedding) -- (JNIEnv *env, jclass that, jint arg0, jint arg1) -+#ifndef NO_NS_1InitXPCOM3 -+JNIEXPORT jint JNICALL XPCOM_NATIVE(NS_1InitXPCOM3) -+ (JNIEnv *env, jclass that, jint arg0, jint arg1, jint arg2, jint arg3, jint arg4) - { - jint rc = 0; -- XPCOM_NATIVE_ENTER(env, that, NS_1InitEmbedding_FUNC); -- rc = (jint)NS_InitEmbedding((nsILocalFile *)arg0, (nsIDirectoryServiceProvider *)arg1); -- XPCOM_NATIVE_EXIT(env, that, NS_1InitEmbedding_FUNC); -+ XPCOM_NATIVE_ENTER(env, that, NS_1GetComponentRegistrar_FUNC); -+ rc = (jint)NS_InitXPCOM3((nsIServiceManager **)arg0, (nsIFile *)arg1, -+ (nsIDirectoryServiceProvider *)arg2, (nsStaticModuleInfo *)arg3, -+ (PRUint32) arg4); -+ XPCOM_NATIVE_EXIT(env, that, NS_1GetComponentRegistrar_FUNC); - return rc; - } - #endif -@@ -113,18 +115,6 @@ - } - #endif - --#ifndef NO_NS_1TermEmbedding --JNIEXPORT jint JNICALL XPCOM_NATIVE(NS_1TermEmbedding) -- (JNIEnv *env, jclass that) --{ -- jint rc = 0; -- XPCOM_NATIVE_ENTER(env, that, NS_1TermEmbedding_FUNC); -- rc = (jint)NS_TermEmbedding(); -- XPCOM_NATIVE_EXIT(env, that, NS_1TermEmbedding_FUNC); -- return rc; --} --#endif -- - #ifndef NO_PR_1Free - JNIEXPORT void JNICALL XPCOM_NATIVE(PR_1Free) - (JNIEnv *env, jclass that, jint arg0) -diff -u -r1.14.2.1 xpcom_stats.h ---- xpcom_stats.h 26 Jul 2006 16:33:23 -0000 1.14.2.1 -+++ xpcom_stats.h 29 Sep 2006 13:21:49 -0000 -@@ -41,9 +41,8 @@ - Call_FUNC, - NS_1GetComponentManager_FUNC, - NS_1GetServiceManager_FUNC, -- NS_1InitEmbedding_FUNC, -+ NS_1InitXPCOM3_FUNC, - NS_1NewLocalFile_FUNC, -- NS_1TermEmbedding_FUNC, - PR_1Free_FUNC, - PR_1Malloc_FUNC, - VtblCall__II_FUNC, diff --git a/dev-java/swt/files/patches-3.2.1/40_amd64_cairo-signedness.patch b/dev-java/swt/files/patches-3.2.1/40_amd64_cairo-signedness.patch deleted file mode 100644 index 1a560bf1e483..000000000000 --- a/dev-java/swt/files/patches-3.2.1/40_amd64_cairo-signedness.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- cairo.c 2006-07-17 16:02:31.000000000 +0200 -+++ cairo.c 2006-07-17 16:02:46.000000000 +0200 -@@ -533,7 +533,7 @@ - { - jlong rc = 0; - Cairo_NATIVE_ENTER(env, that, cairo_1image_1surface_1create_1for_1data_FUNC); -- rc = (jlong)cairo_image_surface_create_for_data((char *)arg0, arg1, arg2, arg3, arg4); -+ rc = (jlong)cairo_image_surface_create_for_data((unsigned char *)arg0, arg1, arg2, arg3, arg4); - Cairo_NATIVE_EXIT(env, that, cairo_1image_1surface_1create_1for_1data_FUNC); - return rc; - } diff --git a/dev-java/swt/files/patches-3.2.1/40_x86_cairo-signedness.patch b/dev-java/swt/files/patches-3.2.1/40_x86_cairo-signedness.patch deleted file mode 100644 index e7bc1d505dda..000000000000 --- a/dev-java/swt/files/patches-3.2.1/40_x86_cairo-signedness.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- cairo.c 2006-07-16 19:16:27.000000000 -0500 -+++ cairo.c 2006-07-16 19:18:15.000000000 -0500 -@@ -533,7 +533,7 @@ - { - jint rc = 0; - Cairo_NATIVE_ENTER(env, that, cairo_1image_1surface_1create_1for_1data_FUNC); -- rc = (jint)cairo_image_surface_create_for_data((char *)arg0, arg1, arg2, arg3, arg4); -+ rc = (jint)cairo_image_surface_create_for_data((unsigned char *)arg0, arg1, arg2, arg3, arg4); - Cairo_NATIVE_EXIT(env, that, cairo_1image_1surface_1create_1for_1data_FUNC); - return rc; - } |