summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorHector <10837193+he-b@users.noreply.github.com>2021-10-03 11:07:39 -0500
committerGitHub <noreply@github.com>2021-10-03 16:07:39 +0000
commit2f6590ddd19d5b6e6bd6e701623f4047d389b842 (patch)
tree5a2c16355feca748f0e1f6aa437252f5ed7038da /var
parentc0b383b3e1df88ee9fd52a1f7bf2c9babec4118a (diff)
downloadspack-2f6590ddd19d5b6e6bd6e701623f4047d389b842.tar.gz
spack-2f6590ddd19d5b6e6bd6e701623f4047d389b842.tar.bz2
spack-2f6590ddd19d5b6e6bd6e701623f4047d389b842.tar.xz
spack-2f6590ddd19d5b6e6bd6e701623f4047d389b842.zip
source-highlight: add gcc11 patch (#26412)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/source-highlight/package.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/source-highlight/package.py b/var/spack/repos/builtin/packages/source-highlight/package.py
index cefbfe768b..1293bf0fac 100644
--- a/var/spack/repos/builtin/packages/source-highlight/package.py
+++ b/var/spack/repos/builtin/packages/source-highlight/package.py
@@ -14,12 +14,17 @@ class SourceHighlight(AutotoolsPackage, GNUMirrorPackage):
homepage = "https://www.gnu.org/software/src-highlite/"
gnu_mirror_path = "src-highlite/source-highlight-3.1.8.tar.gz"
- git = "https://git.savannah.gnu.org/cgit/src-highlite.git"
+ git = "https://git.savannah.gnu.org/git/src-highlite.git"
version('master', branch='master')
version('3.1.9', sha256='3a7fd28378cb5416f8de2c9e77196ec915145d44e30ff4e0ee8beb3fe6211c91')
version('3.1.8', sha256='01336a7ea1d1ccc374201f7b81ffa94d0aecb33afc7d6903ebf9fbf33a55ada3')
+ patch('https://git.savannah.gnu.org/cgit/src-highlite.git/' +
+ 'patch/lib?id=904949c9026cb772dc93fbe0947a252ef47127f4',
+ sha256='45087b174b2b128a8dc81b0728f8ae63213d255ceef6dabfcba27c94e2a75ce9',
+ when='%gcc@11:')
+
depends_on('boost')
# git version needs autotools