Date: Sun, 18 Jan 2026 01:50:28 +0000 From: Steven Kreuzer <skreuzer@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e10ffe5db33c - main - net-mgmt/cacti-spine: Fix build with net-snmp Message-ID: <696c3c64.81e9.2711961c@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by skreuzer: URL: https://cgit.FreeBSD.org/ports/commit/?id=e10ffe5db33cd427ea5bbbd846d5015eb7edf0a0 commit e10ffe5db33cd427ea5bbbd846d5015eb7edf0a0 Author: Steven Kreuzer <skreuzer@FreeBSD.org> AuthorDate: 2026-01-18 01:46:50 +0000 Commit: Steven Kreuzer <skreuzer@FreeBSD.org> CommitDate: 2026-01-18 01:48:44 +0000 net-mgmt/cacti-spine: Fix build with net-snmp net-snmp-config --cflags injects -Werror=declaration-after-statement which causes builds to fail as the source has variable declarations after statements (valid in C99 but not C89). Downgrade this from a fatal error to a warning PR: ports/292340 Reported by: Robert Blayzor <rblayzor@inoc.net> --- net-mgmt/cacti-spine/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-mgmt/cacti-spine/Makefile b/net-mgmt/cacti-spine/Makefile index ddba440724ff..3b9c651ec28a 100644 --- a/net-mgmt/cacti-spine/Makefile +++ b/net-mgmt/cacti-spine/Makefile @@ -19,7 +19,7 @@ USES= autoreconf libtool mysql ssl GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --with-snmp=${LOCALBASE} -CPPFLAGS+= `net-snmp-config --cflags` +CPPFLAGS+= `net-snmp-config --cflags` -Wno-error=declaration-after-statement LDFLAGS+= `net-snmp-config --libs` -lexecinfo CONFLICTS_INSTALL= cacti88home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?696c3c64.81e9.2711961c>
