aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2005-09-10 21:16:11 +0800
committernetchild <netchild@FreeBSD.org>2005-09-10 21:16:11 +0800
commitca7e4eb150b139db6b0618d95d6f1cc46ce11f90 (patch)
tree00aeda46409b5d65fef8f048bf01e333cff15052
parent7547b53f9a46f9fc532c634e9bffb304986df792 (diff)
downloadfreebsd-ports-gnome-ca7e4eb150b139db6b0618d95d6f1cc46ce11f90.tar.gz
freebsd-ports-gnome-ca7e4eb150b139db6b0618d95d6f1cc46ce11f90.tar.zst
freebsd-ports-gnome-ca7e4eb150b139db6b0618d95d6f1cc46ce11f90.zip
Fix a problem (variable declararions in the middle of a function) with non
C99 compilers (e.g. on RELENG_4). Noticed by: pointyhat/krismail
-rw-r--r--mail/claws-mail/files/patch-src-folderview.c__FreeBSD414
-rw-r--r--mail/sylpheed-claws/files/patch-src-folderview.c__FreeBSD414
2 files changed, 28 insertions, 0 deletions
diff --git a/mail/claws-mail/files/patch-src-folderview.c__FreeBSD4 b/mail/claws-mail/files/patch-src-folderview.c__FreeBSD4
new file mode 100644
index 000000000000..09c40439aa97
--- /dev/null
+++ b/mail/claws-mail/files/patch-src-folderview.c__FreeBSD4
@@ -0,0 +1,14 @@
+--- src/folderview.c.orig Sat Sep 10 15:12:41 2005
++++ src/folderview.c Sat Sep 10 15:12:59 2005
+@@ -1956,9 +1956,10 @@
+ FolderItem *item;
+ GSList *mlist = NULL;
+ GSList *cur = NULL;
+- if (!folderview->selected) return;
+ FolderItem *special_trash = NULL;
+ PrefsAccount *ac;
++
++ if (!folderview->selected) return;
+
+ item = gtk_ctree_node_get_row_data(ctree, folderview->selected);
+ g_return_if_fail(item != NULL);
diff --git a/mail/sylpheed-claws/files/patch-src-folderview.c__FreeBSD4 b/mail/sylpheed-claws/files/patch-src-folderview.c__FreeBSD4
new file mode 100644
index 000000000000..09c40439aa97
--- /dev/null
+++ b/mail/sylpheed-claws/files/patch-src-folderview.c__FreeBSD4
@@ -0,0 +1,14 @@
+--- src/folderview.c.orig Sat Sep 10 15:12:41 2005
++++ src/folderview.c Sat Sep 10 15:12:59 2005
+@@ -1956,9 +1956,10 @@
+ FolderItem *item;
+ GSList *mlist = NULL;
+ GSList *cur = NULL;
+- if (!folderview->selected) return;
+ FolderItem *special_trash = NULL;
+ PrefsAccount *ac;
++
++ if (!folderview->selected) return;
+
+ item = gtk_ctree_node_get_row_data(ctree, folderview->selected);
+ g_return_if_fail(item != NULL);