Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jul 2023 17:24:45 GMT
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2617740e97b4 - main - devel/gwenhywfar-fox16: Fix build with llvm16
Message-ID:  <202307021724.362HOjdZ050476@gitrepo.freebsd.org>

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

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

commit 2617740e97b47aac9e57bf4c3bd738868fbcff6a
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2023-07-02 17:13:10 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2023-07-02 17:22:16 +0000

    devel/gwenhywfar-fox16: Fix build with llvm16
    
    theme.cpp:20:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
      register FXint rr,gg,bb,dr,dg,db,r1,g1,b1,r2,g2,b2,yl,yh,yy,dy,n,t;
    
    Reported by:    pkg-fallout
    MFH:            2023Q3
---
 devel/gwenhywfar/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devel/gwenhywfar/Makefile b/devel/gwenhywfar/Makefile
index dff490879abb..49219bda5d38 100644
--- a/devel/gwenhywfar/Makefile
+++ b/devel/gwenhywfar/Makefile
@@ -64,6 +64,7 @@ INSTALL_WRKSRC=	${WRKSRC}/gui/${SLAVEPORT}
 LIB_DEPENDS+=	libFOX-1.6.so:x11-toolkits/fox16
 CONFIGURE_ARGS+=--with-fox-includes=${LOCALBASE}/include/fox-1.6 \
 		--with-fox-libs=${LOCALBASE}/lib
+CXXFLAGS+=	-Dregister=
 .  elif ${SLAVEPORT}=="gtk2"
 LIB_DEPENDS+=	libfreetype.so:print/freetype2 \
 		libharfbuzz.so:print/harfbuzz \



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