head 1.2; access; symbols; locks; strict; comment @ * @; 1.2 date 2026.08.09.02.32.02; author mef; state Exp; branches; next 1.1; commitid VZ0U7SiUlfvWiUQG; 1.1 date 2026.08.08.22.59.54; author mef; state Exp; branches; next ; commitid 6iZGK6wEhlBa8TQG; desc @@ 1.2 log @(devel/glib2) move the line '#define _POSIX_C_SOURCE 200809L' a little bit eariler @ text @$NetBSD: patch-glib_tests_testing.c,v 1.1 2026/08/08 22:59:54 mef Exp $ revert the changes from 2.88.1 to 2.88.3 to fix F_DUPFD_CLOEXEC undefined issue --- glib/tests/testing.c.orig 2026-07-29 22:17:36.000000000 +0900 +++ glib/tests/testing.c 2026-08-09 11:25:57.279948186 +0900 @@@@ -22,7 +22,6 @@@@ * if advised of the possibility of such damage. */ -#define _POSIX_C_SOURCE 200809L /* for F_DUPFD_CLOEXEC */ #include "config.h" @@@@ -33,6 +32,7 @@@@ #define G_LOG_DOMAIN "testing" #include +#define _POSIX_C_SOURCE 200809L /* for F_DUPFD_CLOEXEC */ #include #include #include @ 1.1 log @(devel/glib2) Fix F_DUPFD_CLOEXEC undefined @ text @d1 1 a1 1 $NetBSD$ a3 1 (with minor mod.) d6 2 a7 2 --- /tmp/devel/glib2/work/glib-2.88.3/glib/tests/testing.c.orig 2026-07-29 22:17:36.000000000 +0900 +++ glib/tests/testing.c 2026-08-09 07:50:57.685554036 +0900 d16 6 a21 1 @@@@ -37,6 +36,8 @@@@ a23 6 +#define _POSIX_C_SOURCE 200809L /* for F_DUPFD_CLOEXEC */ + #ifdef G_OS_UNIX #include #include @