summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Bederián <carlos.bederian@unc.edu.ar>2022-06-03 16:32:13 -0300
committerGitHub <noreply@github.com>2022-06-03 21:32:13 +0200
commitb4b2585d6701b2548696c31c2c74acbd7acca728 (patch)
tree6acce5541d6940f63c529f90ad5fa8f29270fba1
parent29855ae31e5d16862209b967462ca37f258d58e8 (diff)
downloadspack-b4b2585d6701b2548696c31c2c74acbd7acca728.tar.gz
spack-b4b2585d6701b2548696c31c2c74acbd7acca728.tar.bz2
spack-b4b2585d6701b2548696c31c2c74acbd7acca728.tar.xz
spack-b4b2585d6701b2548696c31c2c74acbd7acca728.zip
protobuf: patch build error when @3.20 %gcc@12.1.0 (#30973)
-rw-r--r--var/spack/repos/builtin/packages/protobuf/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/protobuf/package.py b/var/spack/repos/builtin/packages/protobuf/package.py
index 21260cff76..1dd9f0f864 100644
--- a/var/spack/repos/builtin/packages/protobuf/package.py
+++ b/var/spack/repos/builtin/packages/protobuf/package.py
@@ -88,6 +88,10 @@ class Protobuf(Package):
patch('protoc2.5.0_aarch64.patch', sha256='7b44fcdb794f421174d619f83584e00a36012a16da09079e2fad9c12f7337451', when='@2.5.0 target=aarch64:')
+ # See https://github.com/protocolbuffers/protobuf/issues/9916
+ patch('https://github.com/protocolbuffers/protobuf/pull/9936.patch?full_index=1', when='@3.20 %gcc@12.1.0',
+ sha256='fa1abf042eddc1b3b43875dc018c651c90cd1c0c5299975a818a1610bee54ab8')
+
def fetch_remote_versions(self, *args, **kwargs):
"""Ignore additional source artifacts uploaded with releases,
only keep known versions