aboutsummaryrefslogtreecommitdiffstats
path: root/finance
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2018-01-21 07:52:37 +0800
committerjhale <jhale@FreeBSD.org>2018-01-21 07:52:37 +0800
commitc2676191da1ab6b8cf74507e500b50246e06d275 (patch)
treebf75cac024f310743fbad8d3a24c9b28f53dc63a /finance
parentacfe8d8cdc31f52459cf0ae1c26e0589a0bfdc86 (diff)
downloadfreebsd-ports-gnome-c2676191da1ab6b8cf74507e500b50246e06d275.tar.gz
freebsd-ports-gnome-c2676191da1ab6b8cf74507e500b50246e06d275.tar.zst
freebsd-ports-gnome-c2676191da1ab6b8cf74507e500b50246e06d275.zip
Fix build with clang 6
hbcixml.cpp:67:37: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] MYNAME " v1.99 (part of AqHBCI v"AQHBCI_VERSION_STRING")\n"\ Reported by: pkg-fallout
Diffstat (limited to 'finance')
-rw-r--r--finance/aqbanking/files/patch-src_plugins_backends_aqhbci_tools_hbcixml_hbcixml.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/finance/aqbanking/files/patch-src_plugins_backends_aqhbci_tools_hbcixml_hbcixml.cpp b/finance/aqbanking/files/patch-src_plugins_backends_aqhbci_tools_hbcixml_hbcixml.cpp
new file mode 100644
index 000000000000..023c380428a6
--- /dev/null
+++ b/finance/aqbanking/files/patch-src_plugins_backends_aqhbci_tools_hbcixml_hbcixml.cpp
@@ -0,0 +1,15 @@
+Fix build with clang 6.
+hbcixml.cpp:67:37: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
+ MYNAME " v1.99 (part of AqHBCI v"AQHBCI_VERSION_STRING")\n"\
+
+--- src/plugins/backends/aqhbci/tools/hbcixml/hbcixml.cpp.orig 2018-01-20 23:43:27 UTC
++++ src/plugins/backends/aqhbci/tools/hbcixml/hbcixml.cpp
+@@ -64,7 +64,7 @@ using namespace std;
+
+ #define MYNAME "hbcixml2"
+ #define PRG_VERSION_INFO \
+- MYNAME " v1.99 (part of AqHBCI v"AQHBCI_VERSION_STRING")\n"\
++ MYNAME " v1.99 (part of AqHBCI v" AQHBCI_VERSION_STRING ")\n"\
+ "(c) 2005 Martin Preuss<martin@libchipcard.de>\n" \
+ "This program is free software licensed under GPL.\n"\
+ "See COPYING for details.\n"