pkgsrc-Users archive

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

sysutils/zabbix no longer builds under -current



Hi,

It appears NetBSD-spicific bits in this packet need some TLC (struct
ifnet). To get it build, I needed to skip a few lines, with the
obvious result the corresponding bits no longer work:
...
--- src/libs/zbxsysinfo/netbsd/net.c.ORIG       2020-02-19
10:20:38.626088127 +0000
+++ src/libs/zbxsysinfo/netbsd/net.c    2020-02-19 10:18:42.421103846 +0000
@@ -108,6 +108,7 @@

                                if (0 == strcmp(if_name, v.if_xname))
                                {
+#if 0
                                        if (ibytes)
                                                *ibytes += v.if_ibytes;
                                        if (ipackets)
@@ -130,6 +131,7 @@
                                                *terrors +=
v.if_ierrors + v.if_oerrors;
                                        if (icollisions)
                                                *icollisions += v.if_collisions;
+#endif
                                        ret = SYSINFO_RET_OK;
                                }
                        }

....


Chavdar

-- 
----


Home | Main Index | Thread Index | Old Index