[SCM] Debian packaging for swt-gtk. branch, master, updated. debian/3.7-2-7-g406ddd5

أحمد المحمو =?UTF-8?Q?=D8=AF=D9=8A=20?=(Ahmed El-Mahmoudy) aelmahmoudy at sabily.org
Fri Sep 30 11:44:47 UTC 2011


The following commit has been merged in the master branch:
commit 406ddd528fcf4ca634a0768b55b194cd8c57e650
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
Date:   Fri Sep 30 11:18:19 2011 +0200

    Added format-security.diff patch

diff --git a/debian/patches/common/format-security.diff b/debian/patches/common/format-security.diff
new file mode 100644
index 0000000..ed4c07e
--- /dev/null
+++ b/debian/patches/common/format-security.diff
@@ -0,0 +1,15 @@
+Description: Fix FTBFS with -Werror=format-security compiler flag set
+Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy at sabily.org>
+Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=359538
+Forwarded: https://bugs.eclipse.org/bugs/attachment.cgi?id=204356
+--- a/os.c
++++ b/os.c
+@@ -10830,7 +10830,7 @@
+ 	jintLong rc = 0;
+ 	OS_NATIVE_ENTER(env, that, _1gtk_1message_1dialog_1new_FUNC);
+ 	if (arg4) if ((lparg4 = (*env)->GetByteArrayElements(env, arg4, NULL)) == NULL) goto fail;
+-	rc = (jintLong)gtk_message_dialog_new((GtkWindow *)arg0, (GtkDialogFlags)arg1, (GtkMessageType)arg2, (GtkButtonsType)arg3, (const gchar *)lparg4);
++	rc = (jintLong)gtk_message_dialog_new((GtkWindow *)arg0, (GtkDialogFlags)arg1, (GtkMessageType)arg2, (GtkButtonsType)arg3, "%s", (const gchar *)lparg4);
+ fail:
+ 	if (arg4 && lparg4) (*env)->ReleaseByteArrayElements(env, arg4, lparg4, 0);
+ 	OS_NATIVE_EXIT(env, that, _1gtk_1message_1dialog_1new_FUNC);

-- 
Debian packaging for swt-gtk.



More information about the pkg-java-commits mailing list