openwrt-packages/admin
Tony Ambardar 3cf17ad130 zabbix: zabbix_helper_mac80211.c: use POSIX <libgen.h> header
The musl libc only implements POSIX basename() but provided a GNU header
kludge in <string.h>, which was removed in musl 1.2.5 [1]. Use the standard
<libgen.h> header to avoid compilation warnings like:

zabbix-6.4.7/zabbix-extra-mac80211/zabbix_helper_mac80211.c:37:11: warning:
 implicit declaration of function 'basename' [-Wimplicit-function-declaration]
   37 |     phy = basename(phy);
      |           ^~~~~~~~
zabbix-6.4.7/zabbix-extra-mac80211/zabbix_helper_mac80211.c:37:9: warning:
 assignment to 'char *' from 'int' makes pointer from integer without a cast
 [-Wint-conversion]
   37 |     phy = basename(phy);
      |         ^
zabbix-6.4.7/zabbix-extra-mac80211/zabbix_helper_mac80211.c:38:10: warning:
 assignment to 'char *' from 'int' makes pointer from integer without a cast
 [-Wint-conversion]
   38 |     stat = basename(stat);
      |          ^

Link 1: https://git.musl-libc.org/cgit/musl/log/?qt=grep&q=basename

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2024-03-06 05:44:46 -08:00
..
atop admin/atop: assign PKG_CPE_ID 2024-01-29 16:00:33 -08:00
backuppc backuppc: fix build with host detected par2 2021-03-06 18:09:32 +01:00
bottom rust: Use make's jobserver when building packages 2023-10-11 15:50:24 +08:00
btop btop: Update to 1.3.2 2024-02-20 15:49:07 +08:00
debian-archive-keyring debian-archive-keyring: update to version 2023.4 2023-12-20 05:28:52 +00:00
debootstrap debootstrap: update to version 1.0.128+nmu2+deb12u1 2023-12-20 05:28:52 +00:00
gkrellmd treewide: Run refresh on all packages 2021-02-20 16:02:15 -08:00
htop htop: update to 3.3.0 2024-01-15 17:13:28 +02:00
ipmitool treewide: fix licence typos 2024-01-31 16:00:10 -08:00
monit monit: update to 5.33.0 2023-08-05 23:02:09 +02:00
muninlite muninlite: update to new upstream release (2.1.2) 2021-07-14 13:47:01 +02:00
netatop netatop: fix compilation warning for kernel module 2023-05-14 16:51:47 +02:00
netdata treewide: remove AUTORELEASE 2023-04-21 22:46:58 +02:00
nload treewide: remove AUTORELEASE 2023-04-21 22:46:58 +02:00
nyx nyx: fix python 3.11 compatibility 2023-07-07 13:29:50 +02:00
openwisp-config openwisp-config: cleanup Makefile 2022-09-22 01:30:59 -07:00
openwisp-monitoring openwisp-monitoring: cleanup Makefile 2022-09-22 01:30:59 -07:00
rsyslog rsyslog: update to 8.2312.0 2024-02-07 13:58:20 -08:00
schroot schroot: update to version 1.6.13, reboot of the schroot tool 2022-09-09 11:59:53 -07:00
sudo admin/sudo: fix PKG_CPE_ID 2024-02-02 22:35:50 +01:00
syslog-ng syslog-ng: update to version 4.6.0 2024-03-05 22:17:24 +01:00
zabbix zabbix: zabbix_helper_mac80211.c: use POSIX <libgen.h> header 2024-03-06 05:44:46 -08:00