File fix-build-with-gcc6.patch of Package globulation2

Index: glob2-0.9.4.4/src/ChooseMapScreen.h
===================================================================
--- glob2-0.9.4.4.orig/src/ChooseMapScreen.h
+++ glob2-0.9.4.4/src/ChooseMapScreen.h
@@ -43,7 +43,7 @@
 	/// Constructor. Directory is the source of the listed files.
 	/// extension is the file extension to show. If recurse is true,
 	/// subdirectoried are shown and can be opened.
-	ChooseMapScreen(const char *directory, const char *extension, bool recurse, const char* alternateDirectory=NULL, const char* alternateExtension=NULL, const char* alternateRecurse=NULL);
+	ChooseMapScreen(const char *directory, const char *extension, bool recurse, const char* alternateDirectory=NULL, const char* alternateExtension=NULL, bool alternateRecurse=false);
 	//! Destructor
 	virtual ~ChooseMapScreen();
 	virtual void onAction(Widget *source, Action action, int par1, int par2);
Index: glob2-0.9.4.4/src/ChooseMapScreen.cpp
===================================================================
--- glob2-0.9.4.4.orig/src/ChooseMapScreen.cpp
+++ glob2-0.9.4.4/src/ChooseMapScreen.cpp
@@ -31,7 +31,7 @@
 
 #include "Game.h"
 
-ChooseMapScreen::ChooseMapScreen(const char *directory, const char *extension, bool recurse, const char* alternateDirectory, const char* alternateExtension, const char* alternateRecurse)
+ChooseMapScreen::ChooseMapScreen(const char *directory, const char *extension, bool recurse, const char* alternateDirectory, const char* alternateExtension, bool alternateRecurse)
 {
 	ok = new TextButton(440, 360, 180, 40, ALIGN_SCREEN_CENTERED, ALIGN_SCREEN_CENTERED, "menu", Toolkit::getStringTable()->getString("[ok]"), OK, 13);
 	addWidget(ok);
openSUSE Build Service is sponsored by