summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <suraia@ikkoku.de>2018-08-22 21:21:54 +0200
committerAdam J. Stewart <ajstewart426@gmail.com>2018-08-22 14:21:54 -0500
commita6826a7a2d6e34c65447d0fecd77ce1ac4f2c747 (patch)
tree7e5271baca0a508fb992745d05b44e93e5ada888
parent66971f6ac8a0086c53dfb09280ac31a01aac420d (diff)
downloadspack-a6826a7a2d6e34c65447d0fecd77ce1ac4f2c747.tar.gz
spack-a6826a7a2d6e34c65447d0fecd77ce1ac4f2c747.tar.bz2
spack-a6826a7a2d6e34c65447d0fecd77ce1ac4f2c747.tar.xz
spack-a6826a7a2d6e34c65447d0fecd77ce1ac4f2c747.zip
glib: Add 2.56.2 (#9071)
This should finally fix build failures on RHEL6-based distributions. Also fix the patch to apply to the correct versions and distributions.
-rw-r--r--var/spack/repos/builtin/packages/glib/package.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/glib/package.py b/var/spack/repos/builtin/packages/glib/package.py
index 76e411aa71..cf4a6ce371 100644
--- a/var/spack/repos/builtin/packages/glib/package.py
+++ b/var/spack/repos/builtin/packages/glib/package.py
@@ -40,6 +40,7 @@ class Glib(AutotoolsPackage):
homepage = "https://developer.gnome.org/glib/"
url = "https://ftp.gnome.org/pub/gnome/sources/glib/2.53/glib-2.53.1.tar.xz"
+ version('2.56.2', 'd64abd16813501c956c4e123ae79f47f1b58de573df9fdd3b0795f1e2c1aa789')
version('2.56.1', '40ef3f44f2c651c7a31aedee44259809b6f03d3d20be44545cd7d177221c0b8d')
version('2.56.0', 'f2b59392f2fb514bbe7791dda0c36da5')
version('2.55.1', '9cbb6b3c7e75ba75575588497c7707b6')
@@ -73,9 +74,9 @@ class Glib(AutotoolsPackage):
# around a legitimate usage.
patch('no-Werror=format-security.patch')
# Patch to prevent compiler errors in kernels older than 2.6.35
- patch('old-kernels.patch', when='@2.56: os=rhel6')
- patch('old-kernels.patch', when='@2.56: os=centos6')
- patch('old-kernels.patch', when='@2.56: os=sl6')
+ patch('old-kernels.patch', when='@2.56.0:2.56.1 os=rhel6')
+ patch('old-kernels.patch', when='@2.56.0:2.56.1 os=centos6')
+ patch('old-kernels.patch', when='@2.56.0:2.56.1 os=scientific6')
def url_for_version(self, version):
"""Handle glib's version-based custom URLs."""