File fix-makefile.patch of Package xfreecell
diff -Nur xfreecell/makefile new/makefile --- xfreecell/makefile 2016-07-28 02:09:18.944240294 +0200 +++ new/makefile 2016-07-28 02:13:04.241810716 +0200 @@ -1,5 +1,6 @@ OBJECTS=card.o freecell.o option.o stack.o subwindows.o undo.o util.o gnmanager.o random.o -CFLAGS=$(CXXFLAGS) -DSHAPE -DBOGUSRANDOM +CXX ?= g++ +CFLAGS= -std=c++98 $(CXXFLAGS) -DSHAPE -DBOGUSRANDOM LIBS=-lm -L. -lns -L/usr/X11R6/lib -lXext -lX11 STATICDIR=xfreecell-static DOCS=README CHANGES mshuffle.txt xfreecell.6 @@ -30,7 +31,7 @@ $(MAKE) -C widget lib install: all - install xfreecell $(DESTDIR)/usr/bin - install xfreecell.6 $(DESTDIR)/usr/share/man/man6 + install -Dm755 xfreecell $(DESTDIR)/usr/bin + install -Dm644 xfreecell.6 $(DESTDIR)/usr/share/man/man6 # install -d $(LIBDIR) # install ms-compatible/MSNumbers $(DESTDIR)/usr/share/xfreecell