summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-06-04 02:51:43 -0500
committerGitHub <noreply@github.com>2021-06-04 09:51:43 +0200
commitb03049e938e954200a5f304bb28dcfbbb237cc18 (patch)
tree1a41c6da3fdc4b2c272a0f19a3a2870061faf9fd
parentb63a8b3e273bf6530658a81b2e43da36c1912c40 (diff)
downloadspack-b03049e938e954200a5f304bb28dcfbbb237cc18.tar.gz
spack-b03049e938e954200a5f304bb28dcfbbb237cc18.tar.bz2
spack-b03049e938e954200a5f304bb28dcfbbb237cc18.tar.xz
spack-b03049e938e954200a5f304bb28dcfbbb237cc18.zip
m4: secure_snprintf.patch is no longer needed for 1.4.19 (#24113)
-rw-r--r--var/spack/repos/builtin/packages/m4/package.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/m4/package.py b/var/spack/repos/builtin/packages/m4/package.py
index 9a9da53202..57d703679c 100644
--- a/var/spack/repos/builtin/packages/m4/package.py
+++ b/var/spack/repos/builtin/packages/m4/package.py
@@ -22,10 +22,10 @@ class M4(AutotoolsPackage, GNUMirrorPackage):
patch('oneapi.patch', when='%oneapi')
# from: https://github.com/Homebrew/homebrew-core/blob/master/Formula/m4.rb
# Patch credit to Jeremy Huddleston Sequoia <jeremyhu@apple.com>
- patch('secure_snprintf.patch', when='os = highsierra')
- patch('secure_snprintf.patch', when='os = mojave')
- patch('secure_snprintf.patch', when='os = catalina')
- patch('secure_snprintf.patch', when='os = bigsur')
+ patch('secure_snprintf.patch', when='@:1.4.18 os=highsierra')
+ patch('secure_snprintf.patch', when='@:1.4.18 os=mojave')
+ patch('secure_snprintf.patch', when='@:1.4.18 os=catalina')
+ patch('secure_snprintf.patch', when='@:1.4.18 os=bigsur')
# https://bugzilla.redhat.com/show_bug.cgi?id=1573342
patch('https://src.fedoraproject.org/rpms/m4/raw/5d147168d4b93f38a4833f5dd1d650ad88af5a8a/f/m4-1.4.18-glibc-change-work-around.patch', sha256='fc9b61654a3ba1a8d6cd78ce087e7c96366c290bc8d2c299f09828d793b853c8', when='@1.4.18')