summaryrefslogtreecommitdiff
path: root/development/gtkdialog/gtkdialog-0.7.20-variables-export-fix.patch
diff options
context:
space:
mode:
authorslakmagik <jsun@freeshell.org>2010-05-11 22:22:33 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:22:33 +0200
commitebe06dfc073dff259a0acb304db14ead7b3ce803 (patch)
tree53fab10e04dfc5c2539fe3f0c7d58223c9d1ae7f /development/gtkdialog/gtkdialog-0.7.20-variables-export-fix.patch
parent8d9e7eff310ad62124e8ff88fb881dde4db37101 (diff)
downloadslackbuilds-ebe06dfc073dff259a0acb304db14ead7b3ce803.tar.gz
development/gtkdialog: Updated for version 0.7.20
Diffstat (limited to 'development/gtkdialog/gtkdialog-0.7.20-variables-export-fix.patch')
-rw-r--r--development/gtkdialog/gtkdialog-0.7.20-variables-export-fix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/development/gtkdialog/gtkdialog-0.7.20-variables-export-fix.patch b/development/gtkdialog/gtkdialog-0.7.20-variables-export-fix.patch
new file mode 100644
index 0000000000..389dc1504f
--- /dev/null
+++ b/development/gtkdialog/gtkdialog-0.7.20-variables-export-fix.patch
@@ -0,0 +1,22 @@
+Submitted By: David B. Cortarello (Nomius) <nomius at users dot berlios dot de>
+Date: 13-08-2008
+Initial Package Version: 0.7.20
+Description: The patch was created from the original mpd package
+This patch provides the following features:
+ * Fix infinite loop caused by continue sentence out of frame.
+
+diff -Naur gtkdialog-0.7.20.orig/src/variables.c gtkdialog-0.7.20/src/variables.c
+--- gtkdialog-0.7.20.orig/src/variables.c 2007-03-16 11:25:48.000000000 -0300
++++ gtkdialog-0.7.20/src/variables.c 2008-08-13 23:13:32.000000000 -0300
+@@ -627,9 +627,10 @@
+ itemlist = GTK_LIST(actual->Widget)->children;
+ n = 0;
+ while (itemlist != NULL) {
+- if (itemlist->data == NULL)
++ if (itemlist->data == NULL) {
+ itemlist = itemlist->next;
+ continue;
++ }
+ text = gtk_object_get_user_data(itemlist->data);
+ if (n == 0)
+ tmp = g_strconcat(line, "'", text, "'", NULL);