Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2019 02:55:13 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r494760 - head/games/openbor
Message-ID:  <201903060255.x262tD3O014678@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)/' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903060255.x262tD3O014678>