summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Aumüller <aumuell@reserv.at>2024-03-13 19:54:02 +0100
committerGitHub <noreply@github.com>2024-03-13 12:54:02 -0600
commit2a8e503a04860bcb02061a66ee00c4b62609b884 (patch)
tree2d877b4aa3beebabe6e0891711dcc4a97f3df1ac
parent4b695d4722a3bf7db3f19a784bb24153621486f6 (diff)
downloadspack-2a8e503a04860bcb02061a66ee00c4b62609b884.tar.gz
spack-2a8e503a04860bcb02061a66ee00c4b62609b884.tar.bz2
spack-2a8e503a04860bcb02061a66ee00c4b62609b884.tar.xz
spack-2a8e503a04860bcb02061a66ee00c4b62609b884.zip
protobuf: apply centos 8 patch only to @3.4: (#43162)
does not apply cleanly to older versions
-rw-r--r--var/spack/repos/builtin/packages/protobuf/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/protobuf/package.py b/var/spack/repos/builtin/packages/protobuf/package.py
index 8758299ef6..035eab572a 100644
--- a/var/spack/repos/builtin/packages/protobuf/package.py
+++ b/var/spack/repos/builtin/packages/protobuf/package.py
@@ -111,7 +111,7 @@ class Protobuf(CMakePackage):
# fix build on Centos 8, see also https://github.com/protocolbuffers/protobuf/issues/5144
patch(
"https://github.com/protocolbuffers/protobuf/pull/11032/commits/3039f932aaf212bcf2f14a3f2fd00dbfb881e46b.patch?full_index=1",
- when="@:3.21",
+ when="@3.4:3.21",
sha256="cefc4bf4aadf9ca33a336b2aa6d0d82006b6563e85122ae8cfb70345f85321dd",
)