Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2018 11:51:44 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483286 - head/security/clamfs/files
Message-ID:  <201810281151.w9SBpiTH010833@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Oct 28 11:51:43 2018
New Revision: 483286
URL: https://svnweb.freebsd.org/changeset/ports/483286

Log:
  security/clamfs: unbreak build with Clang 6 (C++14 by default)
  
  clamfs.cxx:963:26: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
      rLog(Info, "ClamFS v"VERSION);
                           ^
  
  Reported by:	pkg-fallout

Added:
  head/security/clamfs/files/patch-src_clamfs.cxx   (contents, props changed)

Added: head/security/clamfs/files/patch-src_clamfs.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/clamfs/files/patch-src_clamfs.cxx	Sun Oct 28 11:51:43 2018	(r483286)
@@ -0,0 +1,15 @@
+clamfs.cxx:963:26: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
+    rLog(Info, "ClamFS v"VERSION);
+                         ^
+
+--- src/clamfs.cxx.orig	2009-11-29 21:04:33 UTC
++++ src/clamfs.cxx
+@@ -960,7 +960,7 @@ int main(int argc, char *argv[])
+     RLogInit(argc, argv);
+     RLogOpenStdio();
+ 
+-    rLog(Info, "ClamFS v"VERSION);
++    rLog(Info, "ClamFS v" VERSION);
+     rLog(Info, "Copyright (c) 2007,2008 Krzysztof Burghardt <krzysztof@burghardt.pl>");
+     rLog(Info, "http://clamfs.sourceforge.net/");
+ 



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