CVS commit: pkgsrc/devel/glib2
"Makoto Fujiwara" <[email protected]> Sun, 9 Aug 2026 02:32:02 +0000
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: pkgsrc
Committed By: mef
Date: Sun Aug 9 02:32:02 UTC 2026
Modified Files:
pkgsrc/devel/glib2: distinfo
pkgsrc/devel/glib2/patches: patch-glib_tests_testing.c
Log Message:
(devel/glib2) move the line '#define _POSIX_C_SOURCE 200809L' a little bit eariler
To generate a diff of this commit:
cvs rdiff -u -r1.349 -r1.350 pkgsrc/devel/glib2/distinfo
cvs rdiff -u -r1.1 -r1.2 \
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.7 KB)
Modified files: Index: pkgsrc/devel/glib2/distinfo diff -u pkgsrc/devel/glib2/distinfo:1.349 pkgsrc/devel/glib2/distinfo:1.350 --- pkgsrc/devel/glib2/distinfo:1.349 Sat Aug 8 22:59:54 2026 +++ pkgsrc/devel/glib2/distinfo Sun Aug 9 02:32:02 2026 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.349 2026/08/08 22:59:54 mef Exp $ +$NetBSD: distinfo,v 1.350 2026/08/09 02:32:02 mef Exp $ BLAKE2s (glib-2.88.3.tar.xz) = 44b95662b78afc2bd2e1f839da7cc00e790495c481a13d5332fc6a35bacbd258 SHA512 (glib-2.88.3.tar.xz) = 9e2b4985d5e4e06c6897a33cf8c100b9303528ebd72152c10e4cb734fa62fc011c84b816b20f686a3b2aac9a4a5a46f33e7517b4c4c7f3c25c75ac3ddc11f844 @@ -23,7 +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_testing.c) = a215a2fd5e2fc940c464ba56d7bb93d38fe36362 SHA1 (patch-glib_tests_thread.c) = 84f46a31cbc7cdfd9503da73f8b4f9654201964f SHA1 (patch-gmodule_gmodule-dl.c) = a4b562db74a861abc7e2c7033237cd34c27626d4 SHA1 (patch-gmodule_gmodule.c) = b5105399d693d3e127abfde9b32e643b8150aa94 Index: pkgsrc/devel/glib2/patches/patch-glib_tests_testing.c diff -u pkgsrc/devel/glib2/patches/patch-glib_tests_testing.c:1.1 pkgsrc/devel/glib2/patches/patch-glib_tests_testing.c:1.2 --- pkgsrc/devel/glib2/patches/patch-glib_tests_testing.c:1.1 Sat Aug 8 22:59:54 2026 +++ pkgsrc/devel/glib2/patches/patch-glib_tests_testing.c Sun Aug 9 02:32:02 2026 @@ -1,11 +1,10 @@ -$NetBSD: patch-glib_tests_testing.c,v 1.1 2026/08/08 22:59:54 mef Exp $ +$NetBSD: patch-glib_tests_testing.c,v 1.2 2026/08/09 02:32:02 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 +--- 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. */ @@ -14,12 +13,11 @@ to fix F_DUPFD_CLOEXEC undefined issue #include "config.h" -@@ -37,6 +36,8 @@ - #include <stdlib.h> - #include <string.h> +@@ -33,6 +32,7 @@ + #define G_LOG_DOMAIN "testing" + #include <glib.h> +#define _POSIX_C_SOURCE 200809L /* for F_DUPFD_CLOEXEC */ -+ - #ifdef G_OS_UNIX - #include <fcntl.h> - #include <glib-unix.h> + #include <locale.h> + #include <stdlib.h> + #include <string.h>