diff options
author | 2021-07-07 19:24:58 +0200 | |
---|---|---|
committer | 2021-07-07 19:24:58 +0200 | |
commit | 34b60e2cbc2aed0c3c1574d83ac640fe88781d47 (patch) | |
tree | c744fc990cc3192b96b08b76faad893d8dd0cc88 /games-puzzle/construo/files | |
parent | app-accessibility/espeak-ng: add live ebuild (diff) | |
download | gentoo-34b60e2cbc2aed0c3c1574d83ac640fe88781d47.tar.gz gentoo-34b60e2cbc2aed0c3c1574d83ac640fe88781d47.tar.bz2 gentoo-34b60e2cbc2aed0c3c1574d83ac640fe88781d47.zip |
games-puzzle/construo: version 0.2.3
Closes https://bugs.gentoo.org/739282
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-puzzle/construo/files')
-rw-r--r-- | games-puzzle/construo/files/construo-0.2.3-clang.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/games-puzzle/construo/files/construo-0.2.3-clang.patch b/games-puzzle/construo/files/construo-0.2.3-clang.patch new file mode 100644 index 000000000000..abc812e9eb80 --- /dev/null +++ b/games-puzzle/construo/files/construo-0.2.3-clang.patch @@ -0,0 +1,50 @@ +Fix FTBFS with clang + +diff --git a/src/construo.hpp b/src/construo.hpp +index fb77e3e..41aa650 100644 +--- a/src/construo.hpp ++++ b/src/construo.hpp +@@ -19,7 +19,7 @@ + + #include <config.h> + +-#define CONSTRUO_DATADIR DATADIR"/games/"PACKAGE ++#define CONSTRUO_DATADIR DATADIR "/games/" PACKAGE + + class SystemContext; + class InputContext; +diff --git a/src/command_line.cpp b/src/command_line.cpp +index df4669b..824a947 100644 +--- a/src/command_line.cpp ++++ b/src/command_line.cpp +@@ -118,7 +118,7 @@ CommandLine::parse (int argc, char** argv) + void + CommandLine::print_help () + { +- std::cout << "Construo "VERSION"\n\n" ++ std::cout << "Construo " VERSION "\n\n" + << "Usage: construo [OPTIONS] [FILENAME]\n\n" + << " -h, --help display this help text\n" + << " -v,--version Print version number of the programm\n" +@@ -135,7 +135,7 @@ CommandLine::print_help () + void + CommandLine::print_version () + { +- std::cout << "Construo "VERSION"\n" ++ std::cout << "Construo " VERSION "\n" + << "Written by Ingo Ruhnke <grumbel@gmx.de>\n\n" + << "Copyright (C) 2002 Ingo Ruhnke <grumbel@gmx.de>\n" + << "This is free software; see the source for copying conditions. There is NO\n" +diff --git a/src/world_gui_manager.cpp b/src/world_gui_manager.cpp +index 9c6a5f4..4a7cef0 100644 +--- a/src/world_gui_manager.cpp ++++ b/src/world_gui_manager.cpp +@@ -273,7 +273,7 @@ WorldGUIManager::draw_overlay () + graphic_context->draw_string (410, bottom_line, "Zoom: "); + graphic_context->draw_string (480, bottom_line, to_string(WorldViewComponent::instance()->get_zoom())); + +- graphic_context->draw_string (610, bottom_line, "..:: Construo V"VERSION" ::.."); ++ graphic_context->draw_string (610, bottom_line, "..:: Construo V" VERSION " ::.."); + //graphic_context->draw_string (680, bottom_line, to_string(WorldViewComponent::instance()->get_zoom())); + } + |