File fix-makefile.patch of Package frogatto

diff -Nur frogatto-1.3.1/Makefile new/Makefile
--- frogatto-1.3.1/Makefile	2012-12-08 23:36:13.000000000 +0100
+++ new/Makefile	2016-08-11 00:16:58.354543245 +0200
@@ -9,7 +9,7 @@
 #
 # The main options are:
 #
-#   CCACHE           The ccache binary that should be used when USE_CCACHE is
+#   CCACHE           The binary that should be used when USE_CCACHE is
 #                     enabled (see below). Defaults to 'ccache'.
 #   CXX              C++ compiler comand line.
 #   CXXFLAGS         Additional C++ compiler options.
@@ -18,7 +18,7 @@
 #                     CXXFLAGS to set your own optimization options.
 #   LDFLAGS          Additional linker options.
 #   USE_CCACHE       If set to 'yes' (default), builds using the CCACHE binary
-#                     to run the compiler. If ccache is not installed (i.e.
+#                     to run the compiler. If is not installed (i.e.
 #                     found in PATH), this option has no effect.
 #
 
@@ -34,7 +34,7 @@
 endif
 
 # Initial compiler options, used before CXXFLAGS and CPPFLAGS.
-BASE_CXXFLAGS += -g -fno-inline-functions -fthreadsafe-statics -Wnon-virtual-dtor -Werror -Wignored-qualifiers -Wformat -Wswitch
+BASE_CXXFLAGS += -g -fno-inline-functions -fthreadsafe-statics -Wnon-virtual-dtor -Wignored-qualifiers -Wformat -Wswitch -std=c++98
 
 # Compiler include options, used after CXXFLAGS and CPPFLAGS.
 INC := $(shell pkg-config --cflags x11 sdl glu glew SDL_image libpng zlib)
@@ -60,7 +60,7 @@
 	$(CCACHE) $(CXX) \
 		$(BASE_CXXFLAGS) $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(INC) \
 		$(objects) -o game \
-		$(LIBS) -lboost_regex-mt -lboost_system-mt -lpthread -fthreadsafe-statics
+		$(LIBS) -lboost_regex -lboost_system -lpthread -fthreadsafe-statics
 
 # pull in dependency info for *existing* .o files
 -include $(objects:.o=.d)
@@ -69,7 +69,7 @@
 	$(CCACHE) $(CXX) \
 		$(BASE_CXXFLAGS) $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) \
 		$(server_objects) -o server \
-		$(LIBS) -lboost_regex-mt -lboost_system-mt -lboost_thread-mt -lboost_iostreams-mt
+		$(LIBS) -lboost_regex -lboost_system -lboost_thread -lboost_iostreams
 
 clean:
 	rm -f *.o *.d game
openSUSE Build Service is sponsored by