svn commit: r473038 - head/games/construo/files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Jun 22 13:01:28 UTC 2018
Author: amdmi3
Date: Fri Jun 22 13:01:26 2018
New Revision: 473038
URL: https://svnweb.freebsd.org/changeset/ports/473038
Log:
- Fix build with clang 6
Added:
head/games/construo/files/
head/games/construo/files/patch-src_command__line.cpp (contents, props changed)
head/games/construo/files/patch-src_construo.hpp (contents, props changed)
head/games/construo/files/patch-src_world__gui_manager.cpp (contents, props changed)
Added: head/games/construo/files/patch-src_command__line.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/construo/files/patch-src_command__line.cpp Fri Jun 22 13:01:26 2018 (r473038)
@@ -0,0 +1,20 @@
+--- src/command_line.cpp.orig 2015-03-24 17:13:41 UTC
++++ src/command_line.cpp
+@@ -118,7 +118,7 @@ CommandLine::parse (int argc, char** arg
+ 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 at gmx.de>\n\n"
+ << "Copyright (C) 2002 Ingo Ruhnke <grumbel at gmx.de>\n"
+ << "This is free software; see the source for copying conditions. There is NO\n"
Added: head/games/construo/files/patch-src_construo.hpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/construo/files/patch-src_construo.hpp Fri Jun 22 13:01:26 2018 (r473038)
@@ -0,0 +1,11 @@
+--- src/construo.hpp.orig 2015-03-24 17:13:41 UTC
++++ 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;
Added: head/games/construo/files/patch-src_world__gui_manager.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/construo/files/patch-src_world__gui_manager.cpp Fri Jun 22 13:01:26 2018 (r473038)
@@ -0,0 +1,11 @@
+--- src/world_gui_manager.cpp.orig 2015-03-24 17:13:41 UTC
++++ 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()));
+ }
+
More information about the svn-ports-all
mailing list