aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorloader <loader@FreeBSD.org>2018-08-11 14:30:44 +0800
committerloader <loader@FreeBSD.org>2018-08-11 14:30:44 +0800
commitd61eb615773b74c7aeef7a348cb205af07666de5 (patch)
tree742f2e6ce0aeab542acd9805119c3f2c6a3d0078 /mail
parent8578cb5922a9e09c11c20dc7e31e642a228281fa (diff)
downloadfreebsd-ports-gnome-d61eb615773b74c7aeef7a348cb205af07666de5.tar.gz
freebsd-ports-gnome-d61eb615773b74c7aeef7a348cb205af07666de5.tar.zst
freebsd-ports-gnome-d61eb615773b74c7aeef7a348cb205af07666de5.zip
mail/bincimap: Fix build with Clang 6.0.0
Reviewed by: koobs Approved by: koobs (mentor) MFH: 2018Q3 Differential Revision: https://reviews.freebsd.org/D16658
Diffstat (limited to 'mail')
-rw-r--r--mail/bincimap/Makefile2
-rw-r--r--mail/bincimap/files/patch-src_greeting.cc17
2 files changed, 18 insertions, 1 deletions
diff --git a/mail/bincimap/Makefile b/mail/bincimap/Makefile
index d114b8a1d4ed..a5cf3a16ad61 100644
--- a/mail/bincimap/Makefile
+++ b/mail/bincimap/Makefile
@@ -3,7 +3,7 @@
PORTNAME= bincimap
PORTVERSION= 1.2.13
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION}final
diff --git a/mail/bincimap/files/patch-src_greeting.cc b/mail/bincimap/files/patch-src_greeting.cc
new file mode 100644
index 000000000000..b792f4ba09d4
--- /dev/null
+++ b/mail/bincimap/files/patch-src_greeting.cc
@@ -0,0 +1,17 @@
+greeting.cc:72:18: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
+ version = "v"VERSION" ";
+ ^
+
+1 error generated.
+
+--- src/greeting.cc.orig 2018-08-04 05:50:47 UTC
++++ src/greeting.cc
+@@ -69,7 +69,7 @@ void Binc::showGreeting(void)
+ string tmp = session.globalconfig["Security"]["version in greeting"];
+ lowercase(tmp);
+ if (tmp == "yes")
+- version = "v"VERSION" ";
++ version = "v" VERSION" ";
+
+ com << "* OK Welcome to Binc IMAP " << version
+ << "Copyright (C) 2002-2005 Andreas Aardal Hanssen at "