svn commit: r483286 - head/security/clamfs/files

Jan Beich jbeich at FreeBSD.org
Sun Oct 28 11:51:44 UTC 2018


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 at burghardt.pl>");
+     rLog(Info, "http://clamfs.sourceforge.net/");
+ 


More information about the svn-ports-all mailing list