aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-09-19 11:20:15 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-09-19 11:20:15 +0000
commit0f4e9514278d9365afd1680ff6e9caa3e6576c0e (patch)
tree0dda8c208f963c87ab73023df85caaf57f8c28db /mail
parentd759951ecc41f1c6bd70e2142092f4093a0af31b (diff)
downloadports-0f4e9514278d9365afd1680ff6e9caa3e6576c0e.tar.gz
ports-0f4e9514278d9365afd1680ff6e9caa3e6576c0e.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/claws-mail/Makefile1
-rw-r--r--mail/claws-mail/files/patch-src_toolbar.c31
2 files changed, 32 insertions, 0 deletions
diff --git a/mail/claws-mail/Makefile b/mail/claws-mail/Makefile
index faee870875cc..15754a14a47a 100644
--- a/mail/claws-mail/Makefile
+++ b/mail/claws-mail/Makefile
@@ -7,6 +7,7 @@
PORTNAME= claws-mail
PORTVERSION= 3.0.1
+PORTREVISION= 1
CATEGORIES= mail news ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sylpheed-claws
diff --git a/mail/claws-mail/files/patch-src_toolbar.c b/mail/claws-mail/files/patch-src_toolbar.c
new file mode 100644
index 000000000000..068f5ca68669
--- /dev/null
+++ b/mail/claws-mail/files/patch-src_toolbar.c
@@ -0,0 +1,31 @@
+diff -u -r1.43.2.82 -r1.43.2.83
+--- src/toolbar.c 2007/08/30 16:11:57 1.43.2.82
++++ src/toolbar.c 2007/09/18 17:07:51 1.43.2.83
+@@ -1643,8 +1643,10 @@
+ GTK_CONTAINER(child)); \
+ btn = (GtkWidget *)gchild->data; \
+ arr = (GtkWidget *)(gchild->next?gchild->next->data:NULL); \
++ g_list_free(gchild); \
+ gchild = gtk_container_get_children(GTK_CONTAINER(arr)); \
+ gtk_widget_set_size_request(GTK_WIDGET(gchild->data), 9, -1); \
++ g_list_free(gchild); \
+ }
+
+ #define MAKE_MENU(entries,path,btn) { \
+@@ -2073,6 +2075,7 @@
+ GtkWidget *btn = (GtkWidget *)gchild->data; \
+ GtkWidget *arr = (GtkWidget *) \
+ (gchild->next?gchild->next->data:NULL); \
++ g_list_free(gchild); \
+ if (GTK_IS_BUTTON(btn)) \
+ in_btn1 = GTK_BUTTON(btn)->in_button; \
+ if (GTK_IS_BUTTON(arr)) \
+@@ -2095,6 +2098,7 @@
+ GtkWidget *btn = (GtkWidget *)gchild->data; \
+ GtkWidget *arr = (GtkWidget *) \
+ (gchild->next?gchild->next->data:NULL); \
++ g_list_free(gchild); \
+ if (GTK_IS_BUTTON(btn)) \
+ GTK_BUTTON(btn)->in_button = in_btn1; \
+ if (GTK_IS_BUTTON(arr)) \
+