File fix-makefile.patch of Package xmemory

diff -Nur xmemory-3.7/Imakefile new/Imakefile
--- xmemory-3.7/Imakefile	1996-07-18 17:02:56.000000000 +0200
+++ new/Imakefile	2016-07-28 01:26:45.290848388 +0200
@@ -36,7 +36,7 @@
 
 
 xmemory.o:
-	$(CXX) $(CXXFLAGS) -DDATA_DIRECTORY=$(XMEMORYDIR) -DFONT_DEFAULT=$(FONT_DEFAULT) -c xmemory.C -o $@
+	$(CXX) -std=c++98 $(CXXFLAGS) -DDATA_DIRECTORY=$(XMEMORYDIR) -DFONT_DEFAULT=$(FONT_DEFAULT) -c xmemory.C -o $@
 
 .C.o:
-	$(CXX) $(CXXFLAGS) -c $< -o $@
+	$(CXX) -std=c++98 $(CXXFLAGS) -c $< -o $@
diff -Nur xmemory-3.7/Makefile.Linux new/Makefile.Linux
--- xmemory-3.7/Makefile.Linux	1996-07-18 16:50:35.000000000 +0200
+++ new/Makefile.Linux	2016-07-28 01:23:10.689466640 +0200
@@ -1,4 +1,4 @@
-CXXFLAGS	    = -O2 -DHUBSYM -I/usr/X11R6/include
+cxxflags     = -O2 -DHUBSYM -I/usr/X11R6/include -std=c++98 $(CXXFLAGS)
 CXX          = gcc
 FONT_DEFAULT = \"-bitstream-charter-bold-r-*\"
 DATA_DIRECTORY = \"/cdrom/usr/xmemory\"
@@ -13,7 +13,7 @@
 	$(LD) $(LDFLAGS) $(OBJS) $(LIBS) -o xmemory
 
 xmemory.o:
-	$(CXX) $(CXXFLAGS) -DDATA_DIRECTORY=$(DATA_DIRECTORY) -DFONT_DEFAULT=$(FONT_DEFAULT) -c xmemory.C -o $@
+	$(CXX) $(cxxflags) -DDATA_DIRECTORY=$(DATA_DIRECTORY) -DFONT_DEFAULT=$(FONT_DEFAULT) -c xmemory.C -o $@
 
 board.o: board.C
 color.o: color.C
openSUSE Build Service is sponsored by