svn commit: r483287 - branches/2018Q4/security/clamfs/files

Jan Beich jbeich at FreeBSD.org
Sun Oct 28 11:53:06 UTC 2018


Author: jbeich
Date: Sun Oct 28 11:53:05 2018
New Revision: 483287
URL: https://svnweb.freebsd.org/changeset/ports/483287

Log:
  MFH: r483286
  
  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
  Approved by:	ports-secteam blanket

Added:
  branches/2018Q4/security/clamfs/files/patch-src_clamfs.cxx
     - copied unchanged from r483286, head/security/clamfs/files/patch-src_clamfs.cxx
Modified:
Directory Properties:
  branches/2018Q4/   (props changed)

Copied: branches/2018Q4/security/clamfs/files/patch-src_clamfs.cxx (from r483286, head/security/clamfs/files/patch-src_clamfs.cxx)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2018Q4/security/clamfs/files/patch-src_clamfs.cxx	Sun Oct 28 11:53:05 2018	(r483287, copy of r483286, head/security/clamfs/files/patch-src_clamfs.cxx)
@@ -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 at burghardt.pl>");
+     rLog(Info, "http://clamfs.sourceforge.net/");
+ 


More information about the svn-ports-all mailing list