From d3c27619bfb917e5b2e893871d2a25f434c8efc3 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 26 Feb 2022 00:05:19 +0100 Subject: [PATCH] package/zabbix: netsnmp needs mib MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit netsnmp support needs mib to avoid the following build failure raised since the addition of the package in commit 42382a171277ead59e365f5920e757f01c04ac77: checks_snmp.c: In function ‘zbx_snmp_get_octet_string’: checks_snmp.c:694:35: error: invalid use of undefined type ‘struct tree’ 694 | hint = (NULL != subtree ? subtree->hint : NULL); | ^~ Fixes: - No autobuilder failures (yet) Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit 77f9d2d6a6fc4a6485acd7b5f1970b638764c1fa) Signed-off-by: Peter Korsgaard --- package/zabbix/zabbix.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/zabbix/zabbix.mk b/package/zabbix/zabbix.mk index a8ecbb42db..adc54028ad 100644 --- a/package/zabbix/zabbix.mk +++ b/package/zabbix/zabbix.mk @@ -55,7 +55,7 @@ else ZABBIX_CONF_OPTS += --without-libxml2 endif -ifeq ($(BR2_PACKAGE_NETSNMP),y) +ifeq ($(BR2_PACKAGE_NETSNMP_ENABLE_MIBS),y) ZABBIX_CONF_OPTS += --with-net-snmp=$(STAGING_DIR)/usr/bin/net-snmp-config ZABBIX_DEPENDENCIES += netsnmp else