summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/swt/files/swt-3.2-gcc-4.x-warning-fix.patch')
-rw-r--r--dev-java/swt/files/swt-3.2-gcc-4.x-warning-fix.patch65
1 files changed, 0 insertions, 65 deletions
diff --git a/dev-java/swt/files/swt-3.2-gcc-4.x-warning-fix.patch b/dev-java/swt/files/swt-3.2-gcc-4.x-warning-fix.patch
deleted file mode 100644
index afa12e7f95fe..000000000000
--- a/dev-java/swt/files/swt-3.2-gcc-4.x-warning-fix.patch
+++ /dev/null
@@ -1,65 +0,0 @@
---- 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);