diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-25 20:21:45 +0100 |
commit | c719fdcee603a5a706a45d10cb598762d56a727d (patch) | |
tree | 620cbf137661399a3fb1eff92914204f9a970713 /games-puzzle/amoebax/files | |
parent | cc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff) |
gentoo resync : 25.09.2021
Diffstat (limited to 'games-puzzle/amoebax/files')
-rw-r--r-- | games-puzzle/amoebax/files/amoebax-0.2.1-clang.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games-puzzle/amoebax/files/amoebax-0.2.1-clang.patch b/games-puzzle/amoebax/files/amoebax-0.2.1-clang.patch new file mode 100644 index 000000000000..b649640691bf --- /dev/null +++ b/games-puzzle/amoebax/files/amoebax-0.2.1-clang.patch @@ -0,0 +1,14 @@ +Fixes building with clang: +Gentoo-Bug: https://bugs.gentoo.org/739286 + +--- a/src/NewHighScoreState.cxx ++++ b/src/NewHighScoreState.cxx +@@ -396,7 +396,7 @@ NewHighScoreState::unicodeCharacterPress + // FIXME: We are only interessted with ASCII values. + if ( 0 == (code & 0xff80) ) + { +- char character[2] = {toupper (static_cast<char>(code & 0x7f)), '\0'}; ++ char character[2] = {static_cast<char>(toupper (static_cast<char>(code & 0x7f)), '\0')}; + std::string::size_type characterPos = + m_CursorValues.find (std::string (character)); + if ( std::string::npos != characterPos ) |