git: 00f889e0346c - main - net/pacemaker1: fix building port with clang 11

From: Vinícius Zavam <egypcio_at_FreeBSD.org>
Date: Sun, 17 Oct 2021 15:43:31 UTC
The branch main has been updated by egypcio:

URL: https://cgit.FreeBSD.org/ports/commit/?id=00f889e0346cd6cf49a9379e00285e6addf0031a

commit 00f889e0346cd6cf49a9379e00285e6addf0031a
Author:     Vinícius Zavam <egypcio@FreeBSD.org>
AuthorDate: 2021-10-17 15:40:38 +0000
Commit:     Vinícius Zavam <egypcio@FreeBSD.org>
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 <dpejesh@yahoo.com>
 
 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 <bsd.port.pre.mk>
 
+# Fix building it with clang 11
 .if ${OSVERSION} >= 1300000
-BROKEN=	"includes <sys/timeb.h> which is deprecated"
+CFLAGS+=	-fcommon
 .endif
 
 .if ${PYTHON_SUFFIX} > 36