CVS commit: pkgsrc/devel/glib2
"Makoto Fujiwara" <[email protected]> Sat, 8 Aug 2026 22:59:54 +0000
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: pkgsrc Committed By: mef Date: Sat Aug 8 22:59:54 UTC 2026 Modified Files: pkgsrc/devel/glib2: distinfo Added Files: pkgsrc/devel/glib2/patches: patch-glib_tests_testing.c Log Message: (devel/glib2) Fix F_DUPFD_CLOEXEC undefined To generate a diff of this commit: cvs rdiff -u -r1.348 -r1.349 pkgsrc/devel/glib2/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/devel/glib2/patches/patch-glib_tests_testing.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
(unnamed)
(text/x-diff, 2.2 KB)
Modified files: Index: pkgsrc/devel/glib2/distinfo diff -u pkgsrc/devel/glib2/distinfo:1.348 pkgsrc/devel/glib2/distinfo:1.349 --- pkgsrc/devel/glib2/distinfo:1.348 Sat Aug 1 17:26:11 2026 +++ pkgsrc/devel/glib2/distinfo Sat Aug 8 22:59:54 2026 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.348 2026/08/01 17:26:11 adam Exp $ +$NetBSD: distinfo,v 1.349 2026/08/08 22:59:54 mef Exp $ BLAKE2s (glib-2.88.3.tar.xz) = 44b95662b78afc2bd2e1f839da7cc00e790495c481a13d5332fc6a35bacbd258 SHA512 (glib-2.88.3.tar.xz) = 9e2b4985d5e4e06c6897a33cf8c100b9303528ebd72152c10e4cb734fa62fc011c84b816b20f686a3b2aac9a4a5a46f33e7517b4c4c7f3c25c75ac3ddc11f844 @@ -23,6 +23,7 @@ SHA1 (patch-glib_gthread.c) = 2485f63f27 SHA1 (patch-glib_tests_hash.c) = a7e19ca55fcbbc0b188c34755cae5b6b65b67f1a SHA1 (patch-glib_tests_include.c) = 12d98caebfb87c1146821d518c37c45f97fc7be0 SHA1 (patch-glib_tests_meson.build) = 40ce43a49ae7084116facac6b3926c5e545f6721 +SHA1 (patch-glib_tests_testing.c) = b70675d41c6f6d1530bcce29b05d5649ef6b299b SHA1 (patch-glib_tests_thread.c) = 84f46a31cbc7cdfd9503da73f8b4f9654201964f SHA1 (patch-gmodule_gmodule-dl.c) = a4b562db74a861abc7e2c7033237cd34c27626d4 SHA1 (patch-gmodule_gmodule.c) = b5105399d693d3e127abfde9b32e643b8150aa94 Added files: Index: pkgsrc/devel/glib2/patches/patch-glib_tests_testing.c diff -u /dev/null pkgsrc/devel/glib2/patches/patch-glib_tests_testing.c:1.1 --- /dev/null Sat Aug 8 22:59:54 2026 +++ pkgsrc/devel/glib2/patches/patch-glib_tests_testing.c Sat Aug 8 22:59:54 2026 @@ -0,0 +1,25 @@ +$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 +(with minor mod.) +to fix F_DUPFD_CLOEXEC undefined issue + +--- /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 +@@ -22,7 +22,6 @@ + * if advised of the possibility of such damage. + */ + +-#define _POSIX_C_SOURCE 200809L /* for F_DUPFD_CLOEXEC */ + + #include "config.h" + +@@ -37,6 +36,8 @@ + #include <stdlib.h> + #include <string.h> + ++#define _POSIX_C_SOURCE 200809L /* for F_DUPFD_CLOEXEC */ ++ + #ifdef G_OS_UNIX + #include <fcntl.h> + #include <glib-unix.h>