[Bug 274300] net-mgmt/collectd5 falls building on FreeBSD15

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 06 Oct 2023 09:11:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274300

Mina Galić <freebsd@igalic.co> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |freebsd@igalic.co

--- Comment #1 from Mina Galić <freebsd@igalic.co> ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I./src -I./src -I./src/daemon
-DPREFIX=\"/usr/local\" -DCONFIGFILE=\"/usr/local/etc/collectd.conf\"
-DLOCALSTATEDIR=\"/var\" -DPKGLOCALSTATEDIR=\"/var/db/collectd\"
-DPLUGINDIR=\"/usr/local/lib/collectd\"
-DPKGDATADIR=\"/usr/local/share/collectd\" -I/usr/local/include -Wall -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -MT src/pf.lo -MD -MP -MF
src/.deps/pf.Tpo -c src/pf.c  -fPIC -DPIC -o src/.libs/pf.o
/bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I./src 
-I./src -I./src/daemon -DPREFIX='"/usr/local"'
-DCONFIGFILE='"/usr/local/etc/collectd.conf"' -DLOCALSTATEDIR='"/var"'
-DPKGLOCALSTATEDIR='"/var/db/collectd"' -DPLUGINDIR='"/usr/local/lib/collectd"'
-DPKGDATADIR='"/usr/local/share/collectd"'  -I/usr/local/include
-I/usr/local/include -Wall  -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing  -MT src/ping_la-ping.lo -MD -MP -MF
src/.deps/ping_la-ping.Tpo -c -o src/ping_la-ping.lo `test -f 'src/ping.c' ||
echo './'`src/ping.c
src/pf.c:90:22: error: use of undeclared identifier 'DIOCGETSTATUS'
  status = ioctl(fd, DIOCGETSTATUS, &state);
                     ^
1 error generated.
gmake[2]: *** [Makefile:7735: src/pf.lo] Error 1

this "interface" was removed in base 8d49fd7331bc72671a14f1aac1d9cdea36672d19
see base ddd08375c85576b49fb9a34968ba2c2f4f8d56cf as an example how to replace
it with libpfctl's pfctl_get_status().

-- 
You are receiving this mail because:
You are the assignee for the bug.