summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@ovgu.de>2021-05-27 22:17:13 +0200
committerGitHub <noreply@github.com>2021-05-27 15:17:13 -0500
commitdd0bd179c52e5edcce4382b8628dc625e3ea02ec (patch)
tree1d0a17c88820457268c9df002e8a50a3bcb2709e /var
parentf92b7eca5e3c02d06287edb3770348a4ecab5073 (diff)
downloadspack-dd0bd179c52e5edcce4382b8628dc625e3ea02ec.tar.gz
spack-dd0bd179c52e5edcce4382b8628dc625e3ea02ec.tar.bz2
spack-dd0bd179c52e5edcce4382b8628dc625e3ea02ec.tar.xz
spack-dd0bd179c52e5edcce4382b8628dc625e3ea02ec.zip
gtkplus: add 3.24.29 (#23896)
This also fixes the build with %gcc@11:. According to upstream, the proper solution is to disable -Werror=array-bounds since the stable branch will not receive a patch for newer compilers.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/gtkplus/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gtkplus/package.py b/var/spack/repos/builtin/packages/gtkplus/package.py
index eb6b6de671..e31df25075 100644
--- a/var/spack/repos/builtin/packages/gtkplus/package.py
+++ b/var/spack/repos/builtin/packages/gtkplus/package.py
@@ -13,6 +13,7 @@ class Gtkplus(MesonPackage):
homepage = "https://www.gtk.org/"
url = "https://download.gnome.org/sources/gtk+/3.24/gtk+-3.24.26.tar.xz"
+ version('3.24.29', sha256='f57ec4ade8f15cab0c23a80dcaee85b876e70a8823d9105f067ce335a8268caa')
version('3.24.26', sha256='2cc1b2dc5cad15d25b6abd115c55ffd8331e8d4677745dd3ce6db725b4fff1e9')
version('3.20.10', sha256='e81da1af1c5c1fee87ba439770e17272fa5c06e64572939814da406859e56b70', deprecated=True)
version('2.24.32', sha256='b6c8a93ddda5eabe3bfee1eb39636c9a03d2a56c7b62828b359bf197943c582e', deprecated=True)
@@ -59,6 +60,11 @@ class Gtkplus(MesonPackage):
filter_file(r'CFLAGS="-DGDK_PIXBUF_DISABLE_DEPRECATED $CFLAGS"',
'', 'configure', string=True)
+ # https://gitlab.gnome.org/GNOME/gtk/-/issues/3776
+ if self.spec.satisfies('%gcc@11:'):
+ filter_file(" '-Werror=array-bounds',",
+ '', 'meson.build', string=True)
+
def setup_run_environment(self, env):
env.prepend_path("GI_TYPELIB_PATH",
join_path(self.prefix.lib, 'girepository-1.0'))