summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Sokolov <sokolov@google.com>2020-12-25 16:19:10 +0100
committerDavid Seifert <soap@gentoo.org>2020-12-25 16:19:10 +0100
commite624893590dfecf6979b4cf5a4b6a5047424ea5c (patch)
treed1f0c48589521692b3664c041959c841d6e5b445 /games-arcade/kobodeluxe/files/kobodeluxe-0.5.1-clang.patch
parentmedia-libs/libopenshot: Try to fix tests (diff)
downloadgentoo-e624893590dfecf6979b4cf5a4b6a5047424ea5c.tar.gz
gentoo-e624893590dfecf6979b4cf5a4b6a5047424ea5c.tar.bz2
gentoo-e624893590dfecf6979b4cf5a4b6a5047424ea5c.zip
games-arcade/kobodeluxe: fix build with clang, bump EAPI
Closes: https://bugs.gentoo.org/739080 (Portage version: 3.0.9/hg/Linux x86_64, unsigned Manifest commit) Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-arcade/kobodeluxe/files/kobodeluxe-0.5.1-clang.patch')
-rw-r--r--games-arcade/kobodeluxe/files/kobodeluxe-0.5.1-clang.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/games-arcade/kobodeluxe/files/kobodeluxe-0.5.1-clang.patch b/games-arcade/kobodeluxe/files/kobodeluxe-0.5.1-clang.patch
new file mode 100644
index 00000000000..7732b6e147d
--- /dev/null
+++ b/games-arcade/kobodeluxe/files/kobodeluxe-0.5.1-clang.patch
@@ -0,0 +1,22 @@
+--- a/filemap.cpp
++++ b/filemap.cpp
+@@ -851,7 +851,7 @@
+ 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;
+ }
+ }
+--- a/prefs.cpp
++++ b/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>\"]");