only apply onapi patch to m4 for v1.4.18 (#24490)

This commit is contained in:
Gregory Lee 2021-06-24 17:35:26 -07:00 committed by GitHub
parent 26f740b25a
commit 7dafc827a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ class M4(AutotoolsPackage, GNUMirrorPackage):
patch('gnulib-pgi.patch', when='@1.4.18')
patch('pgi.patch', when='@1.4.17')
patch('nvhpc.patch', when='%nvhpc')
patch('oneapi.patch', when='%oneapi')
patch('oneapi.patch', when='@1.4.18 %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='@:1.4.18 os=highsierra')