From b7d0b3ea750e07dd75bcdeab20ef29c70812daef Mon Sep 17 00:00:00 2001 From: Andreas Baumbach Date: Mon, 24 May 2021 09:36:12 +0200 Subject: gdk-pixbuf: restrict patch application to meson packages (#23838) --- var/spack/repos/builtin/packages/gdk-pixbuf/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/gdk-pixbuf/package.py b/var/spack/repos/builtin/packages/gdk-pixbuf/package.py index 25827c9795..0a9492653a 100644 --- a/var/spack/repos/builtin/packages/gdk-pixbuf/package.py +++ b/var/spack/repos/builtin/packages/gdk-pixbuf/package.py @@ -49,7 +49,9 @@ class GdkPixbuf(Package): # Replace the docbook stylesheet URL with the one that our # docbook-xsl package uses/recognizes. - patch('docbook-cdn.patch', when='+man') + # Pach modifies meson build files, so it only applies to versions that + # depend on meson. + patch('docbook-cdn.patch', when='@2.37.0:+man') def url_for_version(self, version): url = "https://ftp.acc.umu.se/pub/gnome/sources/gdk-pixbuf/{0}/gdk-pixbuf-{1}.tar.xz" -- cgit v1.2.3-70-g09d2