aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2012-01-08 02:25:29 +0800
committerume <ume@FreeBSD.org>2012-01-08 02:25:29 +0800
commitdeb614a657059ad8f177ccd3edbfb2ced892303f (patch)
treef865de443b1353eb3d611c019f3d5b39e0c14c12
parent367ab6baf6662199c8c41f00f0ae1ac922b65310 (diff)
downloadfreebsd-ports-gnome-deb614a657059ad8f177ccd3edbfb2ced892303f.tar.gz
freebsd-ports-gnome-deb614a657059ad8f177ccd3edbfb2ced892303f.tar.zst
freebsd-ports-gnome-deb614a657059ad8f177ccd3edbfb2ced892303f.zip
Make it buildable with clang.
-rw-r--r--mail/cyrus-imapd23/files/patch-lib::charset.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/cyrus-imapd23/files/patch-lib::charset.c b/mail/cyrus-imapd23/files/patch-lib::charset.c
new file mode 100644
index 000000000000..704401378fd8
--- /dev/null
+++ b/mail/cyrus-imapd23/files/patch-lib::charset.c
@@ -0,0 +1,13 @@
+Index: lib/charset.c
+diff -u -p lib/charset.c.orig lib/charset.c
+--- lib/charset.c.orig 2011-10-05 04:59:14.000000000 +0900
++++ lib/charset.c 2012-01-08 03:18:45.000000000 +0900
+@@ -861,7 +861,7 @@ void mimeheader_cat(struct convert_rock
+ int len;
+ char *res;
+
+- if (!s) return 0;
++ if (!s) return;
+
+ /* set up the conversion path */
+ input = table_init(0, target);