Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2018 06:30:44 +0000 (UTC)
From:      Fukang Chen <loader@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r476860 - in head/mail/bincimap: . files
Message-ID:  <201808110630.w7B6UiFm008890@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: loader (doc committer)
Date: Sat Aug 11 06:30:44 2018
New Revision: 476860
URL: https://svnweb.freebsd.org/changeset/ports/476860

Log:
  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

Added:
  head/mail/bincimap/files/patch-src_greeting.cc   (contents, props changed)
Modified:
  head/mail/bincimap/Makefile

Modified: head/mail/bincimap/Makefile
==============================================================================
--- head/mail/bincimap/Makefile	Sat Aug 11 06:22:47 2018	(r476859)
+++ head/mail/bincimap/Makefile	Sat Aug 11 06:30:44 2018	(r476860)
@@ -3,7 +3,7 @@
 
 PORTNAME=	bincimap
 PORTVERSION=	1.2.13
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	mail
 MASTER_SITES=	SF/${PORTNAME}
 DISTNAME=	${PORTNAME}-${PORTVERSION}final

Added: head/mail/bincimap/files/patch-src_greeting.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/bincimap/files/patch-src_greeting.cc	Sat Aug 11 06:30:44 2018	(r476860)
@@ -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 "



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808110630.w7B6UiFm008890>