svn commit: r494760 - head/games/openbor

Jan Beich jbeich at FreeBSD.org
Wed Mar 6 02:55:14 UTC 2019


Author: jbeich
Date: Wed Mar  6 02:55:13 2019
New Revision: 494760
URL: https://svnweb.freebsd.org/changeset/ports/494760

Log:
  games/openbor: unbreak with GCC 4.2
  
  cc1: error: unrecognized command line option "-Wno-unused-result"
  
  Reported by:	pkg-fallout

Modified:
  head/games/openbor/Makefile   (contents, props changed)

Modified: head/games/openbor/Makefile
==============================================================================
--- head/games/openbor/Makefile	Wed Mar  6 02:55:07 2019	(r494759)
+++ head/games/openbor/Makefile	Wed Mar  6 02:55:13 2019	(r494760)
@@ -81,6 +81,7 @@ post-patch:
 	@${REINPLACE_CMD} -e 's/ -O[0-9]//; s/ -g//; s/ -Werror//' \
 		-e 's/ -fomit-frame-pointer//' \
 		-e 's/ -freorder-blocks//' \
+		-e 's/ -Wno-unused-result//' \
 		-e 's/ -Wl,-rpath,$$(LIBRARIES)//' \
 		-e '/echo/!s/	@/	/' \
 		-e 's/@echo/@$$(ECHO)/' \


More information about the svn-ports-head mailing list