diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2018-10-28 11:51:43 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2018-10-28 11:51:43 +0000 |
commit | af37deebed1e500ef158d01bf10fecd83be6a9dd (patch) | |
tree | b63c9f46b3ad701aab12394c29b55285cc2ea44b /security | |
parent | 715f43d9cbd69ebc3014a5a0f09c863a42f802c6 (diff) | |
download | ports-af37deebed1e500ef158d01bf10fecd83be6a9dd.tar.gz ports-af37deebed1e500ef158d01bf10fecd83be6a9dd.zip |
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
Notes
Notes:
svn path=/head/; revision=483286
Diffstat (limited to 'security')
-rw-r--r-- | security/clamfs/files/patch-src_clamfs.cxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/security/clamfs/files/patch-src_clamfs.cxx b/security/clamfs/files/patch-src_clamfs.cxx new file mode 100644 index 000000000000..87c1108213d4 --- /dev/null +++ b/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@burghardt.pl>"); + rLog(Info, "http://clamfs.sourceforge.net/"); + |