head 1.1; access; symbols pkgsrc-2026Q2:1.1.0.2 pkgsrc-2026Q2-base:1.1; locks; strict; comment @ * @; 1.1 date 2026.06.18.19.36.19; author nia; state Exp; branches; next ; commitid vc8RxhuPxXSODjKG; desc @@ 1.1 log @xdelta3: Build fix for GCC 14 / 15 Fix the spelling of _POSIX_C_SOURCE so that gettimeofday gets properly declared. Verified to build on FreeBSD, NetBSD, macOS, Linux. @ text @$NetBSD$ Fix spelling of _POSIX_C_SOURCE so gettimeofday(2) gets declared properly. --- xdelta3.h.orig 2026-06-18 19:25:18.614120556 +0000 +++ xdelta3.h @@@@ -24,7 +24,7 @@@@ #ifndef _XDELTA3_H_ #define _XDELTA3_H_ -#define _POSIX_SOURCE 200112L +#define _POSIX_C_SOURCE 200112L #define _ISOC99_SOURCE #define _C99_SOURCE @