[SCM] Debian packaging of wesnoth branch, devel, updated. debian/1.9.3-1-10-gd1429d8
Gerfried Fuchs
rhonda at debian.org
Tue Apr 12 19:33:55 UTC 2011
The following commit has been merged in the devel branch:
commit d1429d81a534dabb4a4cd68b1552fd751a209a7a
Author: Gerfried Fuchs <rhonda at debian.org>
Date: Tue Apr 12 21:30:49 2011 +0200
Fix patch wesnothd-name
diff --git a/debian/changelog b/debian/changelog
index ee75c4c..67eda08 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ wesnoth-1.9 (1:1.9.5-1) unstable; urgency=low
removed upstream. Adjusted debian/rules accordingly, also some debhelper
install files.
* Bump Standards-Version to 3.9.2.
+ * Fix patch wesnothd-name to really find the proper binary (closes: #617945)
--
diff --git a/debian/patches/03wesnothd-name b/debian/patches/03wesnothd-name
index 07cd75e..7ecb736 100644
--- a/debian/patches/03wesnothd-name
+++ b/debian/patches/03wesnothd-name
@@ -1,9 +1,11 @@
-Author: Gerfried Fuchs <rhonda at debian.at> vim:ft=diff:
+Author: Gerfried Fuchs <rhonda at debian.org> vim:ft=diff:
Description: Search for wesnothd-1.9 instead of plain wesnothd
+Index: b/src/game_preferences_display.cpp
+===================================================================
--- a/src/game_preferences_display.cpp
+++ b/src/game_preferences_display.cpp
-@@ -1255,7 +1255,7 @@
+@@ -1287,7 +1287,7 @@ std::string show_wesnothd_server_search(
#ifndef WESNOTH_PREFIX
#define WESNOTH_PREFIX "/usr"
#endif
@@ -12,3 +14,16 @@ Description: Search for wesnothd-1.9 instead of plain wesnothd
std::string path = WESNOTH_PREFIX + std::string("/bin");
if (!is_directory(path))
path = get_cwd();
+Index: b/src/game.cpp
+===================================================================
+--- a/src/game.cpp
++++ b/src/game.cpp
+@@ -1262,7 +1262,7 @@ void game_controller::start_wesnothd()
+ {
+ const std::string wesnothd_program =
+ preferences::get_mp_server_program_name().empty() ?
+- get_program_invocation("wesnothd") : preferences::get_mp_server_program_name();
++ get_program_invocation("wesnothd-1.9") : preferences::get_mp_server_program_name();
+
+ std::string config = get_user_config_dir() + "/lan_server.cfg";
+ if (!file_exists(config)) {
diff --git a/debian/patches/03wesnothd-name.in b/debian/patches/03wesnothd-name.in
index bc5681b..58bc86f 100644
--- a/debian/patches/03wesnothd-name.in
+++ b/debian/patches/03wesnothd-name.in
@@ -1,6 +1,8 @@
-Author: Gerfried Fuchs <rhonda at debian.at> vim:ft=diff:
+Author: Gerfried Fuchs <rhonda at debian.org> vim:ft=diff:
Description: Search for wesnothd-BRANCH instead of plain wesnothd
+Index: b/src/game_preferences_display.cpp
+===================================================================
--- a/src/game_preferences_display.cpp
+++ b/src/game_preferences_display.cpp
@@ -1255,7 +1255,7 @@
@@ -12,3 +14,16 @@ Description: Search for wesnothd-BRANCH instead of plain wesnothd
std::string path = WESNOTH_PREFIX + std::string("/bin");
if (!is_directory(path))
path = get_cwd();
+Index: b/src/game.cpp
+===================================================================
+--- a/src/game.cpp
++++ b/src/game.cpp
+@@ -1262,7 +1262,7 @@ void game_controller::start_wesnothd()
+ {
+ const std::string wesnothd_program =
+ preferences::get_mp_server_program_name().empty() ?
+- get_program_invocation("wesnothd") : preferences::get_mp_server_program_name();
++ get_program_invocation("wesnothd-BRANCH") : preferences::get_mp_server_program_name();
+
+ std::string config = get_user_config_dir() + "/lan_server.cfg";
+ if (!file_exists(config)) {
--
Debian packaging of wesnoth
More information about the Pkg-games-commits
mailing list