git: 95845968a4c2 - main - misc/wmcalendar: fix build post LLVM 11 import

Piotr Kubaj pkubaj at FreeBSD.org
Sat Apr 10 22:46:50 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=95845968a4c26625ddf7ca1df5edb9221e4c9206

commit 95845968a4c26625ddf7ca1df5edb9221e4c9206
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-04-10 22:44:55 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-04-10 22:44:55 +0000

    misc/wmcalendar: fix build post LLVM 11 import
    
    Submitted by: jhibbits
---
 misc/wmcalendar/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/misc/wmcalendar/Makefile b/misc/wmcalendar/Makefile
index a92cda4f4906..ae42afc559a0 100644
--- a/misc/wmcalendar/Makefile
+++ b/misc/wmcalendar/Makefile
@@ -9,9 +9,6 @@ MASTER_SITES=	SF
 MAINTAINER=	xride at FreeBSD.org
 COMMENT=	Dockable calendar with interface to iCalendar based calendars
 
-BROKEN_FreeBSD_13=	ld: error: duplicate symbol: appicon
-BROKEN_FreeBSD_14=	ld: error: duplicate symbol: appicon
-
 LIB_DEPENDS=	libical.so:devel/libical
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/Src
@@ -21,7 +18,7 @@ USE_XORG=	xpm
 USE_GNOME=	gtk20
 MAKE_ARGS=	CC="${CC}" \
 		LFLAGS="`pkg-config --libs gtk+-2.0` -L${LOCALBASE}/lib" \
-		CFLAGS="${CFLAGS}" \
+		CFLAGS="${CFLAGS} -fcommon" \
 		INCDIR="`pkg-config --cflags gtk+-2.0` -I${LOCALBASE}/include" \
 		LIBDIR="" \
 		LIBS="-lical -lX11 -lXext -lXpm -lm"


More information about the dev-commits-ports-all mailing list