diff options
author | netchild <netchild@FreeBSD.org> | 2005-09-10 21:16:11 +0800 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2005-09-10 21:16:11 +0800 |
commit | ca7e4eb150b139db6b0618d95d6f1cc46ce11f90 (patch) | |
tree | 00aeda46409b5d65fef8f048bf01e333cff15052 | |
parent | 7547b53f9a46f9fc532c634e9bffb304986df792 (diff) | |
download | freebsd-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__FreeBSD4 | 14 | ||||
-rw-r--r-- | mail/sylpheed-claws/files/patch-src-folderview.c__FreeBSD4 | 14 |
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); |