Skip to content

Commit

Permalink
devel/gwenhywfar-fox16: Fix build with llvm16
Browse files Browse the repository at this point in the history
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
  • Loading branch information
BSDKaffee committed Jul 2, 2023
1 parent 6d57701 commit 2617740
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions devel/gwenhywfar/Makefile
Expand Up @@ -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 \
Expand Down

0 comments on commit 2617740

Please sign in to comment.