Hi,

Few patches fix "error: invalid suffix on literal; C++11 requires a space
between literal and identifier".

timo

Index: patches/patch-filemap_cpp
===================================================================
RCS file: patches/patch-filemap_cpp
diff -N patches/patch-filemap_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-filemap_cpp   9 Apr 2018 10:38:15 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: filemap.cpp
+--- filemap.cpp.orig
++++ filemap.cpp
+@@ -851,7 +851,7 @@ void filemapper_t::print(FILE *f, const char *ref)
+       while(k)
+       {
+               if(strcmp(k->key, key) == 0 || all)
+-                      fprintf(f, "%s"FM_DEREF_TOKEN" --> \"%s\"\n", k->key, 
k->path);
++                      fprintf(f, "%s" FM_DEREF_TOKEN " --> \"%s\"\n", k->key, 
k->path);
+               k = k->next;
+       }
+ }
Index: patches/patch-prefs_cpp
===================================================================
RCS file: patches/patch-prefs_cpp
diff -N patches/patch-prefs_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-prefs_cpp     9 Apr 2018 10:38:15 -0000
@@ -0,0 +1,14 @@
+$OpenBSD$
+
+Index: prefs.cpp
+--- prefs.cpp.orig
++++ prefs.cpp
+@@ -30,7 +30,7 @@
+ void prefs_t::init()
+ {
+       comment("--------------------------------------------");
+-      comment(" Kobo Deluxe "VERSION" Configuration File");
++      comment(" Kobo Deluxe " VERSION " Configuration File");
+       comment("--------------------------------------------");
+       comment(" Switches - [no]<switch>");
+       comment(" Values - <key> [<value>|\"<string>\"]");

Reply via email to