diff options
author | Michael Kuhn <suraia@ikkoku.de> | 2018-05-29 17:28:17 +0200 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-05-29 10:28:17 -0500 |
commit | 79d529e9abf4f95ce4601ff008117c8711a72c6f (patch) | |
tree | 33cd19e99ef26d10f5910ca056ced4d22e4d6a2a /var | |
parent | ff4f92fec74982a663ce82ce36ffc486fa98a025 (diff) | |
download | spack-79d529e9abf4f95ce4601ff008117c8711a72c6f.tar.gz spack-79d529e9abf4f95ce4601ff008117c8711a72c6f.tar.bz2 spack-79d529e9abf4f95ce4601ff008117c8711a72c6f.tar.xz spack-79d529e9abf4f95ce4601ff008117c8711a72c6f.zip |
nasm: Fix compilation with GCC 8 (#8307)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/nasm/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/nasm/package.py b/var/spack/repos/builtin/packages/nasm/package.py index b4a8ad5d05..a8ac7bf940 100644 --- a/var/spack/repos/builtin/packages/nasm/package.py +++ b/var/spack/repos/builtin/packages/nasm/package.py @@ -36,3 +36,7 @@ class Nasm(AutotoolsPackage): version('2.13.03', 'd5ca2ad7121ccbae69dd606b1038532c') version('2.11.06', '2b958e9f5d200641e6fc9564977aecc5') + + # Fix compilation with GCC 8 + # https://bugzilla.nasm.us/show_bug.cgi?id=3392461 + patch('https://src.fedoraproject.org/rpms/nasm/raw/0cc3eb244bd971df81a7f02bc12c5ec259e1a5d6/f/0001-Remove-invalid-pure_func-qualifiers.patch', level=1, sha256='ac9f315d204afa6b99ceefa1fe46d4eed2b8a23c7315d32d33c0f378d930e950', when='@2.13.03 %gcc@8:') |