Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2023 09:30:29 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b9d760dded4f - main - graphics/rgbpaint: work around duplicate symbol issue
Message-ID:  <202304170930.33H9UTaA051510@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

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

commit b9d760dded4f0a8e2c6a38ddb27533cdd82ab1e5
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-04-15 14:22:29 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-04-17 09:27:25 +0000

    graphics/rgbpaint: work around duplicate symbol issue
    
     - supply CFLAGS+=-fcommon to enable a build with recent clang/gcc
     - this fixes the build on FreeBSD 13+
     - add missing LIB_DEPENDS, USE_GNOME, and USE_XORG
---
 graphics/rgbpaint/Makefile | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/graphics/rgbpaint/Makefile b/graphics/rgbpaint/Makefile
index 521c859acc6a..954fbcd7f85c 100644
--- a/graphics/rgbpaint/Makefile
+++ b/graphics/rgbpaint/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	rgbpaint
 PORTVERSION=	0.8.7
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	graphics
 MASTER_SITES=	SF/mtpaint/${PORTNAME}/${PORTVERSION}
 
@@ -10,14 +10,17 @@ WWW=		http://mtpaint.sourceforge.net/rgbpaint.html
 
 LICENSE=	GPLv2+
 
-BROKEN_FreeBSD_13=	ld: error: duplicate symbol: brcosa_pal
-BROKEN_FreeBSD_14=	ld: error: duplicate symbol: brcosa_pal
+LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2 \
+		libharfbuzz.so:print/harfbuzz
 
-USES=		gettext gnome pkgconfig tar:bzip2
-USE_GNOME=	gtk20
+USES=		gettext gnome pkgconfig tar:bzip2 xorg
+USE_GNOME=	cairo gdkpixbuf2 gtk20
+USE_XORG=	x11
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX} --mandir=${MAN1PREFIX}/man/man1 \
 		--locale=${PREFIX}/share/locale cflags slow intl man
+CFLAGS+=	-fcommon
 
 DESKTOP_ENTRIES="rgbPaint" "" "" "${PORTNAME}" "" true
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304170930.33H9UTaA051510>