Hi ports --
Postal is not newer than C++03; we get nothing by pretending it's newer
than that.
Minimal diff to fix the build.
OK?
~Brian
Index: patches/patch-makefile
===================================================================
RCS file: /cvs/ports/games/postal/patches/patch-makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-makefile
--- patches/patch-makefile 22 Dec 2017 10:23:26 -0000 1.1.1.1
+++ patches/patch-makefile 8 Apr 2018 00:23:35 -0000
@@ -58,7 +58,7 @@ Index: makefile
endif
ifeq ($(strip $(steamworks)),true)
-@@ -339,8 +330,7 @@ debugon:
+@@ -339,14 +330,13 @@ debugon:
$(eval CFLAGS += -DDEBUG -D_DEBUG -O0 -g)
debugoff:
@@ -68,3 +68,10 @@ Index: makefile
$(BINDIR)/%.o: $(SRCDIR)/%.s
$(CC) $(CFLAGS) -DELF -x assembler-with-cpp -o $@ -c $<
+
+ $(BINDIR)/%.o: $(SRCDIR)/%.cpp
+- $(CXX) -c -o $@ $< $(CFLAGS)
++ $(CXX) -c -o $@ $< $(CFLAGS) -std=c++03
+
+ $(BINDIR)/%.o: $(SRCDIR)/%.c
+ $(CC) -c -o $@ $< $(CFLAGS)