diff --git a/srcpkgs/compiz-core/patches/librsvg-2.51.0.patch b/srcpkgs/compiz-core/patches/librsvg-2.51.0.patch new file mode 100644 index 0000000000..a34daf85ea --- /dev/null +++ b/srcpkgs/compiz-core/patches/librsvg-2.51.0.patch @@ -0,0 +1,36 @@ +From c0c605dd1fcb5afe8dfee3e7609f83a8b0e64820 Mon Sep 17 00:00:00 2001 +From: ShadowKyogre +Date: Fri, 24 Sep 2021 17:59:30 -0700 +Subject: [PATCH] plugins/svg: Fix building against librsvg 2.51.0+ + +A commit introduced in librsvg 2.51.0+ renamed +librsvg/librsvg-features.h to librsvg/rsvg-features.h. + +As a result, this broke the SVG plugin compile process. +The following patch includes a fix for this. + +--- + +For the curious, here's the commit in librsvg that caused this. + +https://github.com/GNOME/librsvg/commit/b8c8756a0e8148afb2752acb62f06c57c917e4b4 +--- + plugins/svg.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/plugins/svg.c b/plugins/svg.c +index a0eb715f..ee1b6446 100644 +--- a/plugins/svg.c ++++ b/plugins/svg.c +@@ -32,7 +32,7 @@ + #include + #endif + #ifndef LIBRSVG_FEATURES_H +-#include ++#include + #endif + + #include +-- +GitLab + diff --git a/srcpkgs/compiz-core/template b/srcpkgs/compiz-core/template index fa4cf6f195..1534ab8861 100644 --- a/srcpkgs/compiz-core/template +++ b/srcpkgs/compiz-core/template @@ -9,7 +9,7 @@ hostmakedepends="automake gettext-devel intltool libtool pkg-config libxslt" makedepends="fuse-devel gettext-devel glib-devel glu-devel inotify-tools-devel libSM-devel libXcomposite-devel libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel librsvg-devel libxml++-devel - libxslt-devel startup-notification-devel" + libXdamage-devel libxslt-devel startup-notification-devel" short_desc="Compiz Reloaded core module" maintainer="CoolOhm " license="MIT, LGPL-2.1-or-later, GPL-2.0-or-later"