aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2012-12-01 06:44:50 +0800
committeritetcu <itetcu@FreeBSD.org>2012-12-01 06:44:50 +0800
commite64eaafe7e2681ed6c65bbe3830fb21c9676a03a (patch)
tree5cdb1fa8317b8fd1fc07a3e045c8882fa9fb96cd /mail
parent1acb9f4a470cf1817f035542bc6c1355a28ea73a (diff)
downloadfreebsd-ports-gnome-e64eaafe7e2681ed6c65bbe3830fb21c9676a03a.tar.gz
freebsd-ports-gnome-e64eaafe7e2681ed6c65bbe3830fb21c9676a03a.tar.zst
freebsd-ports-gnome-e64eaafe7e2681ed6c65bbe3830fb21c9676a03a.zip
Fix build with clang.
PR: 172216 Submitted by: Miklos Magyari Feature safe: yes
Diffstat (limited to 'mail')
-rw-r--r--mail/altermime/files/patch-ffget.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/altermime/files/patch-ffget.c b/mail/altermime/files/patch-ffget.c
new file mode 100644
index 000000000000..39cfb2edf0b9
--- /dev/null
+++ b/mail/altermime/files/patch-ffget.c
@@ -0,0 +1,11 @@
+--- ./ffget.c.orig 2008-12-13 03:13:09.000000000 +0200
++++ ./ffget.c 2012-12-01 00:41:29.000000000 +0200
+@@ -550,7 +550,7 @@
+ // if we have another \r after it, in which case, we
+ // turn on SINGLE_DELIMETER_MODE.
+
+- if ( (*crlfpos == '\r') )
++ if (*crlfpos == '\r')
+ {
+ f->linebreak = FFGET_LINEBREAK_CR;
+ snprintf(f->lastbreak,sizeof(f->lastbreak),"\r");