svn commit: r459559 - head/devel/libchipcard/files
Jason E. Hale
jhale at FreeBSD.org
Sat Jan 20 23:59:12 UTC 2018
Author: jhale
Date: Sat Jan 20 23:59:11 2018
New Revision: 459559
URL: https://svnweb.freebsd.org/changeset/ports/459559
Log:
Fix build with clang 6
cardcommander.cpp:48:47: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
"cardcommander v0.4 (part of libchipcard v"k_CHIPCARD_VERSION_STRING")\n"\
Reported by: pkg-fallout
Added:
head/devel/libchipcard/files/
head/devel/libchipcard/files/patch-src_tools_cardcommander_cardcommander.cpp (contents, props changed)
Added: head/devel/libchipcard/files/patch-src_tools_cardcommander_cardcommander.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libchipcard/files/patch-src_tools_cardcommander_cardcommander.cpp Sat Jan 20 23:59:11 2018 (r459559)
@@ -0,0 +1,15 @@
+Fix build with clang 6
+cardcommander.cpp:48:47: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
+ "cardcommander v0.4 (part of libchipcard v"k_CHIPCARD_VERSION_STRING")\n"\
+
+--- src/tools/cardcommander/cardcommander.cpp.orig 2018-01-20 23:55:05 UTC
++++ src/tools/cardcommander/cardcommander.cpp
+@@ -45,7 +45,7 @@
+ using namespace std;
+
+ #define k_PRG_VERSION_INFO \
+- "cardcommander v0.4 (part of libchipcard v"k_CHIPCARD_VERSION_STRING")\n"\
++ "cardcommander v0.4 (part of libchipcard v" k_CHIPCARD_VERSION_STRING ")\n"\
+ "(c) 2006 Martin Preuss<martin at libchipcard.de>\n" \
+ "This program is free software licensed under GPL.\n"\
+ "See COPYING for details.\n"
More information about the svn-ports-head
mailing list