fix build with clang6

This commit is contained in:
naddy 2018-04-10 20:56:42 +00:00
parent 4152e32f2f
commit 916db5ae9f

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_command_sabcmd_cpp,v 1.1 2018/04/10 20:56:42 naddy Exp $
Index: src/command/sabcmd.cpp
--- src/command/sabcmd.cpp.orig
+++ src/command/sabcmd.cpp
@@ -168,7 +168,7 @@ char usage[] =
char askhelp[] = "Type sabcmd --help to display a help message.\n";
char msgConflict[] = "conflict with preceding switches: ";
-char version_txt[] = "\nsabcmd "SAB_VERSION" ("SAB_DATE")\n"\
+char version_txt[] = "\nsabcmd " SAB_VERSION " (" SAB_DATE ")\n"\
"copyright (C) 2000 - 2005 Ginger Alliance (www.gingerall.com)\n";
char dbg_usage[] = "\nDebugging options:\n"\
"\t--debug\t\t\tdisplay results of the command line parse\n"\