summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/m4/checks-198.sysval.2.patch
diff options
context:
space:
mode:
authorTodd Gamblin <gamblin2@llnl.gov>2022-01-23 04:35:05 -0800
committerGitHub <noreply@github.com>2022-01-23 13:35:05 +0100
commitecfc57ea3e51f69b4cf848c5b79a49c0ffe8e7dc (patch)
tree08045958dab25c1942a54700fc714558ecca5e41 /var/spack/repos/builtin/packages/m4/checks-198.sysval.2.patch
parent7e5afd1e73a1f85ddf025adfed72991d6bf5f3bb (diff)
downloadspack-ecfc57ea3e51f69b4cf848c5b79a49c0ffe8e7dc.tar.gz
spack-ecfc57ea3e51f69b4cf848c5b79a49c0ffe8e7dc.tar.bz2
spack-ecfc57ea3e51f69b4cf848c5b79a49c0ffe8e7dc.tar.xz
spack-ecfc57ea3e51f69b4cf848c5b79a49c0ffe8e7dc.zip
m4: move patches hosted at savannah into the repo (#28515)
These URLs were giving 404's to me and to some of our users -- they do not seem to be reliable, so moving them into the tree.
Diffstat (limited to 'var/spack/repos/builtin/packages/m4/checks-198.sysval.2.patch')
-rw-r--r--var/spack/repos/builtin/packages/m4/checks-198.sysval.2.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/m4/checks-198.sysval.2.patch b/var/spack/repos/builtin/packages/m4/checks-198.sysval.2.patch
new file mode 100644
index 0000000000..e71273eab8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/m4/checks-198.sysval.2.patch
@@ -0,0 +1,31 @@
+From cd7f4d153ccccf601751e9fa82424412f6ecfc96 Mon Sep 17 00:00:00 2001
+From: Eric Blake <eblake@redhat.com>
+Date: Tue, 1 Jun 2021 08:10:51 -0500
+Subject: tests: Fix 198.sysval
+
+In my attempt to avoid test failures on Haiku, I caused test failures
+on platforms where sh is noisy when reporting a killed sub-process.
+
+* doc/m4.texi (Sysval): Avoid stderr noise during test.
+Fixes: 17011ea76a (tests: Skip signal detection on Haiku)
+Fixes: https://lists.gnu.org/archive/html/bug-m4/2021-05/msg00029.html
+---
+ doc/m4.texi | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/doc/m4.texi b/doc/m4.texi
+index 247f2be5..3b833b2a 100644
+--- a/doc/m4.texi
++++ b/doc/m4.texi
+@@ -6756,7 +6756,7 @@ ifdef(`__unix__', ,
+ ')m4exit(`77')')dnl
+ changequote(`[', `]')
+ @result{}
+-syscmd([/bin/sh -c 'kill -9 $$'; st=$?;
++syscmd([@{ /bin/sh -c 'kill -9 $$'; @} 2>/dev/null; st=$?;
+ test $st = 137 || test $st = 265])
+ @result{}
+ ifelse(sysval, [0], , [errprint([ skipping: shell does not send signal 9
+--
+cgit v1.2.1
+