Ver código fonte

package/zabbix: netsnmp needs mib

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 <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fabrice Fontaine 3 anos atrás
pai
commit
77f9d2d6a6
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      package/zabbix/zabbix.mk

+ 1 - 1
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