pkgsrc/textproc/libxml2
gutteridge 29d53481bc libxml2: restrict _POSIX_C_SOURCE to Linux
Fix build breakage with FreeBSD, where some definitions were then hidden
by __BSD_VISIBLE not being defined, e.g.:

  CC       libxml2_la-nanohttp.lo
nanohttp.c:837:20: error: use of undeclared identifier 'PF_INET6'
        s = socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP);
                   ^
nanohttp.c:842:20: error: use of undeclared identifier 'PF_INET'
        s = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP);
                   ^
2 errors generated.

(Tested on FreeBSD 14 and Fedora Linux 39.)
2024-01-30 00:12:48 +00:00
..
patches *libxml2: update to 2.12.4 2024-01-27 10:06:41 +00:00
DESCR
Makefile libxml2: restrict _POSIX_C_SOURCE to Linux 2024-01-30 00:12:48 +00:00
Makefile.common *libxml2: update to 2.12.4 2024-01-27 10:06:41 +00:00
PLIST
buildlink3.mk libxml2: revert previous 2023-12-18 16:09:16 +00:00
distinfo *libxml2: update to 2.12.4 2024-01-27 10:06:41 +00:00
options.mk