Author: Rhonda D'Vine <rhonda@debian.org>	vim:ft=diff:
Description: Search for wesnothd-1.16 instead of plain wesnothd
Forwarded: not-needed

--- a/src/game_launcher.cpp
+++ b/src/game_launcher.cpp
@@ -813,7 +813,7 @@
 void game_launcher::start_wesnothd()
 {
 	const std::string wesnothd_program = preferences::get_mp_server_program_name().empty()
-		? filesystem::get_program_invocation("wesnothd")
+		? filesystem::get_program_invocation("wesnothd-1.16")
 		: preferences::get_mp_server_program_name();
 
 	std::string config = filesystem::get_user_config_dir() + "/lan_server.cfg";
@@ -833,7 +833,7 @@
 	// meaningful to SDL applications during pre-main initialization.
 	SetEnvironmentVariableA("SDL_STDIO_REDIRECT", "0");
 #endif
-	LOG_GENERAL << "Starting wesnothd: "<< command << "\n";
+	LOG_GENERAL << "Starting wesnothd-1.16: "<< command << "\n";
 	if (std::system(command.c_str()) == 0) {
 		// Give server a moment to start up
 		SDL_Delay(50);
--- a/src/preferences/display.cpp
+++ b/src/preferences/display.cpp
@@ -151,7 +151,7 @@
 void show_wesnothd_server_search()
 {
 #ifndef _WIN32
-	const std::string filename = "wesnothd";
+	const std::string filename = "wesnothd-1.16";
 #else // _WIN32
 	const std::string filename = "wesnothd.exe";
 #endif
