summaryrefslogtreecommitdiff
path: root/editors/fxite/files/patch-src_appname.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editors/fxite/files/patch-src_appname.cpp')
-rw-r--r--editors/fxite/files/patch-src_appname.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/editors/fxite/files/patch-src_appname.cpp b/editors/fxite/files/patch-src_appname.cpp
new file mode 100644
index 000000000000..0544448fa8ec
--- /dev/null
+++ b/editors/fxite/files/patch-src_appname.cpp
@@ -0,0 +1,16 @@
+Fix build with clang 6
+
+appname.cpp:145:32: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
+ dlg=new FxAsqWin(_("About "EXE_NAME), btns, i++);
+
+--- src/appname.cpp.orig 2018-02-16 06:02:39 UTC
++++ src/appname.cpp
+@@ -142,7 +142,7 @@ void AppAbout::AboutBox()
+ FxAsqWin*dlg=NULL;
+ FXString msg;
+ int rv=-1;
+- dlg=new FxAsqWin(_("About "EXE_NAME), btns, i++);
++ dlg=new FxAsqWin(_("About " EXE_NAME), btns, i++);
+ msg.format(App_About, _("Version"), VERSION, "yetanothergeek@gmail.com",
+ _(" This program is free software, under the terms of the \n"),
+ _("Running"),