From nobody Sun Oct 17 15:43:31 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8A61D17F002D; Sun, 17 Oct 2021 15:43:31 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HXPRl3Tdpz3CbQ; Sun, 17 Oct 2021 15:43:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 57A0477F5; Sun, 17 Oct 2021 15:43:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19HFhVXf067518; Sun, 17 Oct 2021 15:43:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19HFhV8E067517; Sun, 17 Oct 2021 15:43:31 GMT (envelope-from git) Date: Sun, 17 Oct 2021 15:43:31 GMT Message-Id: <202110171543.19HFhV8E067517@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Vin=C3=ADcius Zavam?= Subject: git: 00f889e0346c - main - net/pacemaker1: fix building port with clang 11 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: egypcio X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 00f889e0346cd6cf49a9379e00285e6addf0031a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by egypcio: URL: https://cgit.FreeBSD.org/ports/commit/?id=00f889e0346cd6cf49a9379e00285e6addf0031a commit 00f889e0346cd6cf49a9379e00285e6addf0031a Author: Vinícius Zavam AuthorDate: 2021-10-17 15:40:38 +0000 Commit: Vinícius Zavam CommitDate: 2021-10-17 15:43:25 +0000 net/pacemaker1: fix building port with clang 11 wrong reason was added to BROKEN conditional; remove BROKEN flag if OSVERSION >= 1300000; current commit also fixes ability to build this port. --- net/pacemaker1/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/pacemaker1/Makefile b/net/pacemaker1/Makefile index da2a3734e572..3f3eaf5c20b4 100644 --- a/net/pacemaker1/Makefile +++ b/net/pacemaker1/Makefile @@ -1,7 +1,7 @@ # Created by: David Shane Holden PORTVERSION= 1.1.24 -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= 1 .include "${.CURDIR}/Makefile.common" @@ -24,8 +24,9 @@ REPLACE_ARGS_GETOPT= -e 's,getopt,${LOCALBASE}/bin/getopt,' .include +# Fix building it with clang 11 .if ${OSVERSION} >= 1300000 -BROKEN= "includes which is deprecated" +CFLAGS+= -fcommon .endif .if ${PYTHON_SUFFIX} > 36