pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/syslog-ng-snmp



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Jan 22 10:07:16 UTC 2026

Modified Files:
        pkgsrc/sysutils/syslog-ng-snmp: Makefile

Log Message:
syslog-ng-snmp: fix build on -current

The error message mentions C90, but even forcing c99 didn't fix it,
so use BUILDINK_TRANSFORM instead.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/syslog-ng-snmp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/syslog-ng-snmp/Makefile
diff -u pkgsrc/sysutils/syslog-ng-snmp/Makefile:1.4 pkgsrc/sysutils/syslog-ng-snmp/Makefile:1.5
--- pkgsrc/sysutils/syslog-ng-snmp/Makefile:1.4 Tue Oct 24 22:11:15 2023
+++ pkgsrc/sysutils/syslog-ng-snmp/Makefile     Thu Jan 22 10:07:16 2026
@@ -1,10 +1,13 @@
-# $NetBSD: Makefile,v 1.4 2023/10/24 22:11:15 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2026/01/22 10:07:16 wiz Exp $
 
 SYSLOG_MOD=            snmp
 SYSLOG_MOD_DIR=                afsnmp
 COMMENT=               Syslog-ng AFSNMP module
 PKGREVISION=           1
 
+# error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
+BUILDLINK_TRANSFORM+=  rm:-Werror=declaration-after-statement
+
 .include "../../sysutils/syslog-ng/module.mk"
 
 CONFIGURE_ARGS+=       --enable-afsnmp



Home | Main Index | Thread Index | Old Index