public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/m4] rawhide: Fix SIGSEGV in gnulib posix_spawn_file_actions_addchdir tests
@ 2026-07-31 6:06 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-07-31 6:06 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/m4
Branch : rawhide
Commit : d91104adeb7f2ca880ec3cb7d5bd6bbcf2d7c9d0
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-07-30T12:14:36-04:00
Stats : +33/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/m4/c/d91104adeb7f2ca880ec3cb7d5bd6bbcf2d7c9d0?branch=rawhide
Log:
Fix SIGSEGV in gnulib posix_spawn_file_actions_addchdir tests
https://lists.gnu.org/archive/html/bug-gnulib/2026-07/msg00165.html
https://src.fedoraproject.org/rpms/gettext/pull-request/42
Resolves: rhbz#2504314
---
diff --git a/m4-1.4.21-gnulib-posix_addchdr.patch b/m4-1.4.21-gnulib-posix_addchdr.patch
new file mode 100644
index 0000000..d2d4d4d
--- /dev/null
+++ b/m4-1.4.21-gnulib-posix_addchdr.patch
@@ -0,0 +1,24 @@
+diff -ur a/m4/posix_spawn_faction_addchdir.m4 b/m4/posix_spawn_faction_addchdir.m4
+--- a/m4/posix_spawn_faction_addchdir.m4 2026-01-02 15:46:16.000000000 +0530
++++ b/m4/posix_spawn_faction_addchdir.m4 2026-07-27 23:50:21.890528572 +0530
+@@ -1,5 +1,5 @@
+ # posix_spawn_faction_addchdir.m4
+-# serial 2
++# serial 3
+ dnl Copyright (C) 2018-2026 Free Software Foundation, Inc.
+ dnl This file is free software; the Free Software Foundation
+ dnl gives unlimited permission to copy and/or distribute it,
+@@ -11,10 +11,11 @@
+ AC_REQUIRE([gl_SPAWN_H_DEFAULTS])
+ AC_REQUIRE([AC_PROG_CC])
+ gl_POSIX_SPAWN
+- AC_CHECK_FUNCS_ONCE([posix_spawn_file_actions_addchdir])
++ AC_CHECK_DECLS([posix_spawn_file_actions_addchdir],,,
++ [[#include <spawn.h>]])
+ gl_CHECK_FUNCS_ANDROID([posix_spawn_file_actions_addchdir_np],
+ [[#include <spawn.h>]])
+- if test $ac_cv_func_posix_spawn_file_actions_addchdir = yes; then
++ if test $ac_cv_have_decl_posix_spawn_file_actions_addchdir = yes; then
+ dnl This function is not yet standardized. Therefore override the
+ dnl system's implementation always.
+ REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR=1
diff --git a/m4.spec b/m4.spec
index bf32457..fadd4aa 100644
--- a/m4.spec
+++ b/m4.spec
@@ -1,10 +1,13 @@
Summary: GNU macro processor
Name: m4
Version: 1.4.21
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPL-3.0-or-later AND GFDL-1.3-or-later AND FSFULLR AND GPL-3.0-or-later WITH Autoconf-exception-generic-3.0 AND GPL-3.0-or-later WITH Texinfo-exception AND GPL-2.0-or-later WITH Autoconf-exception-generic AND GPL-3.0-or-later WITH Autoconf-exception-generic-3.0 AND MIT
Source0: https://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz
Source1: https://ftp.gnu.org/gnu/m4/m4-%{version}.tar.xz.sig
+# Fix SIGSEGV in gnulib posix_spawn_file_actions_addchdir tests
+# https://lists.gnu.org/archive/html/bug-gnulib/2026-07/msg00165.html
+Patch0: m4-1.4.21-gnulib-posix_addchdr.patch
URL: https://www.gnu.org/software/m4/
BuildRequires: make
BuildRequires: gcc autoconf automake
@@ -28,6 +31,8 @@ Install m4 if you need a macro processor.
%prep
%setup -q
+%patch -P0 -p1
+autoreconf
chmod 644 COPYING
%build
@@ -50,6 +55,9 @@ make %{?_smp_mflags} check
%{_mandir}/man1/m4.1*
%changelog
+* Thu Jul 30 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 1.4.21-3
+- Fix SIGSEGV in gnulib posix_spawn_file_actions_addchdir tests
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.21-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-31 6:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-31 6:06 [rpms/m4] rawhide: Fix SIGSEGV in gnulib posix_spawn_file_actions_addchdir tests Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox