From owner-svn-ports-head@freebsd.org Wed Feb 6 00:39:33 2019 Return-Path: Delivered-To: svn-ports-head@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 8EE4714D62CF; Wed, 6 Feb 2019 00:39:33 +0000 (UTC) (envelope-from linimon@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 32E1171EB1; Wed, 6 Feb 2019 00:39:33 +0000 (UTC) (envelope-from linimon@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 1552F259CC; Wed, 6 Feb 2019 00:39:33 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x160dWrl053467; Wed, 6 Feb 2019 00:39:32 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x160dWo4053466; Wed, 6 Feb 2019 00:39:32 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201902060039.x160dWo4053466@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Wed, 6 Feb 2019 00:39:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492283 - head/security/sha1collisiondetection X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/security/sha1collisiondetection X-SVN-Commit-Revision: 492283 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 32E1171EB1 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.955,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2019 00:39:33 -0000 Author: linimon Date: Wed Feb 6 00:39:32 2019 New Revision: 492283 URL: https://svnweb.freebsd.org/changeset/ports/492283 Log: -std=c90 is not supported by base GCC. Replace it with -std=c89, which is equivalent, to fix build on GCC-based architectures. PR: 235536 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Modified: head/security/sha1collisiondetection/Makefile Modified: head/security/sha1collisiondetection/Makefile ============================================================================== --- head/security/sha1collisiondetection/Makefile Wed Feb 6 00:27:17 2019 (r492282) +++ head/security/sha1collisiondetection/Makefile Wed Feb 6 00:39:32 2019 (r492283) @@ -14,9 +14,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_aarch64= fails to compile: generic selections are a C11-specific feature [-Werror,-Wc11-extensions] BROKEN_armv6= fails to compile: generic selections are a C11-specific feature [-Werror,-Wc11-extensions] BROKEN_armv7= fails to compile: generic selections are a C11-specific feature [-Werror,-Wc11-extensions] -BROKEN_mips= fails to compile: cc1: unrecognized command line option -std=c90 -BROKEN_mips64= fails to compile: cc1: unrecognized command line option -std=c90 -BROKEN_powerpc64= fails to compile: cc1: unrecognized command line option -std=c90 USE_GITHUB= yes GH_ACCOUNT= cr-marcstevens @@ -30,6 +27,10 @@ PLIST_FILES= bin/sha1dcsum \ lib/libsha1detectcoll.so \ lib/libsha1detectcoll.so.0 \ lib/libsha1detectcoll.so.0.0.0 + +post-patch: + @${REINPLACE_CMD} -e 's/ -std=c90 / -std=c89 /' ${WRKSRC}/Makefile + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/.libs/sha1dcsum* ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/include/sha1dc