summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@informatik.uni-hamburg.de>2020-05-30 09:14:57 +0200
committerGitHub <noreply@github.com>2020-05-30 00:14:57 -0700
commit3cc0e1a333eb52d22039ab049b1d3d384d833ee6 (patch)
tree79ab0663cc65f7569a0b66af1f5cf41c0bdb7948
parent58cc75ac2908f5f9ec294ffeb6e2481b3d3e24ed (diff)
downloadspack-3cc0e1a333eb52d22039ab049b1d3d384d833ee6.tar.gz
spack-3cc0e1a333eb52d22039ab049b1d3d384d833ee6.tar.bz2
spack-3cc0e1a333eb52d22039ab049b1d3d384d833ee6.tar.xz
spack-3cc0e1a333eb52d22039ab049b1d3d384d833ee6.zip
cpio: add patch to fix build with gcc@10: (#16844)
-rw-r--r--var/spack/repos/builtin/packages/cpio/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cpio/package.py b/var/spack/repos/builtin/packages/cpio/package.py
index 2381a82499..ecaf2531ea 100644
--- a/var/spack/repos/builtin/packages/cpio/package.py
+++ b/var/spack/repos/builtin/packages/cpio/package.py
@@ -15,6 +15,8 @@ class Cpio(AutotoolsPackage, GNUMirrorPackage):
version('2.13', sha256='e87470d9c984317f658567c03bfefb6b0c829ff17dbf6b0de48d71a4c8f3db88')
+ patch('https://src.fedoraproject.org/rpms/cpio/raw/dfe64c466d3ea2c8dfbd99700d9006f610064167/f/cpio-2.13-mutiple-definition.patch', sha256='d22633c368b8aedf4c08b23b6fbaa81a52404c8943ab04926404083ac10f1a4b', when='%gcc@10:')
+
build_directory = 'spack-build'
def flag_handler(self, name, flags):