m4 package: only apply nvhpc.patch for version 1.4.18 (#24730)

The patch as-is does not apply to 1.4.19
This commit is contained in:
Gregory Lee 2021-07-07 11:28:42 -07:00 committed by GitHub
parent ad7984c5c0
commit 218ae0c5d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ class M4(AutotoolsPackage, GNUMirrorPackage):
patch('gnulib-pgi.patch', when='@1.4.18') patch('gnulib-pgi.patch', when='@1.4.18')
patch('pgi.patch', when='@1.4.17') patch('pgi.patch', when='@1.4.17')
patch('nvhpc.patch', when='%nvhpc') patch('nvhpc.patch', when='@1.4.18 %nvhpc')
patch('oneapi.patch', when='@1.4.18 %oneapi') patch('oneapi.patch', when='@1.4.18 %oneapi')
# from: https://github.com/Homebrew/homebrew-core/blob/master/Formula/m4.rb # from: https://github.com/Homebrew/homebrew-core/blob/master/Formula/m4.rb
# Patch credit to Jeremy Huddleston Sequoia <jeremyhu@apple.com> # Patch credit to Jeremy Huddleston Sequoia <jeremyhu@apple.com>