news/nntp: fix build with clang16

This commit is contained in:
Dirk Meyer 2023-07-23 16:44:53 +02:00
parent 87c041d4b3
commit 5a57be18c1

View file

@ -15,6 +15,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libcnews.a:${CNEWS_PORT}
NO_WRKSUBDIR= yes
USE_CSTD= gnu89
CFLAGS+= -Wno-incompatible-pointer-types
PLIST_SUB+= VARBASE=${VARBASE}
PLIST_SUB+= NEWSBIN=${NEWSBIN:S=^${PREFIX}/==}
PLIST_SUB+= NEWSCTL=${NEWSCTL:S=^${VARBASE}/==}