From c2676191da1ab6b8cf74507e500b50246e06d275 Mon Sep 17 00:00:00 2001 From: jhale Date: Sat, 20 Jan 2018 23:52:37 +0000 Subject: 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 --- ...-src_plugins_backends_aqhbci_tools_hbcixml_hbcixml.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 finance/aqbanking/files/patch-src_plugins_backends_aqhbci_tools_hbcixml_hbcixml.cpp (limited to 'finance') 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\n" \ + "This program is free software licensed under GPL.\n"\ + "See COPYING for details.\n" -- cgit