Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2018 23:59:11 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459559 - head/devel/libchipcard/files
Message-ID:  <201801202359.w0KNxBnN087789@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@libchipcard.de>\n" \
+   "This program is free software licensed under GPL.\n"\
+   "See COPYING for details.\n"



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