From owner-svn-ports-branches@freebsd.org Thu Mar 14 00:54:39 2019 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2718115464F1; Thu, 14 Mar 2019 00:54:39 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BEB8577F5C; Thu, 14 Mar 2019 00:54:38 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AD2271A8DE; Thu, 14 Mar 2019 00:54:38 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2E0sc2w082224; Thu, 14 Mar 2019 00:54:38 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2E0sc6d082223; Thu, 14 Mar 2019 00:54:38 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201903140054.x2E0sc6d082223@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Thu, 14 Mar 2019 00:54:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r495679 - branches/2019Q1/games/openbor X-SVN-Group: ports-branches X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: branches/2019Q1/games/openbor X-SVN-Commit-Revision: 495679 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: BEB8577F5C X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_SHORT(-0.97)[-0.971,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Mar 2019 00:54:39 -0000 Author: jbeich Date: Thu Mar 14 00:54:38 2019 New Revision: 495679 URL: https://svnweb.freebsd.org/changeset/ports/495679 Log: MFH: r494760 r495669 games/openbor: unbreak with GCC 4.2 cc1: error: unrecognized command line option "-Wno-unused-result" source/gamelib/loadimg.o:(.text+0x1ce8): undefined reference to `__builtin_unreachable' source/gamelib/loadimg.o:(.text+0x2164): undefined reference to `__builtin_unreachable' Reported by: pkg-fallout Approved by: ports-secteam blanket Modified: branches/2019Q1/games/openbor/Makefile Directory Properties: branches/2019Q1/ (props changed) Modified: branches/2019Q1/games/openbor/Makefile ============================================================================== --- branches/2019Q1/games/openbor/Makefile Thu Mar 14 00:53:54 2019 (r495678) +++ branches/2019Q1/games/openbor/Makefile Thu Mar 14 00:54:38 2019 (r495679) @@ -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)/' \ @@ -88,6 +89,8 @@ post-patch: ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's/\.openbor/.${PKGBASE}/' \ ${WRKSRC}/sdl/sdlport.c + @${REINPLACE_CMD} -e 's/__builtin_unreachable/__unreachable/' \ + ${WRKSRC}/source/gamelib/loadimg.c @${GREP} -Flr 'malloc.h' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ 's,malloc\.h,stdlib.h,' @${REINPLACE_CMD} -e 's/^function \(.*\) {/\1() {/' \