aboutsummaryrefslogtreecommitdiff
path: root/x11/wbar/files/patch-src_core_Main.cc
blob: af0f6d9660e9addf41c57627aca1c2a63b04e706 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
./src/core/Main.cc:84:38: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
            command = PACKAGE_NAME" "DEFAULT_ARGV;
                                                 ^

--- src/core/Main.cc.orig	2018-07-20 12:51:16 UTC
+++ src/core/Main.cc
@@ -81,7 +81,7 @@ int main(int argc, char **argv)
 
         if (command.empty())
         {
-            command = PACKAGE_NAME" "DEFAULT_ARGV;
+            command = PACKAGE_NAME " " DEFAULT_ARGV;
         }
 
         if (argc <= 1 || tmpoptparser.isSet( OptParser::CONFIG ))