compiz-core: fix build
This commit is contained in:
parent
6c830941d2
commit
1d4701db81
2 changed files with 37 additions and 1 deletions
36
srcpkgs/compiz-core/patches/librsvg-2.51.0.patch
Normal file
36
srcpkgs/compiz-core/patches/librsvg-2.51.0.patch
Normal file
|
@ -0,0 +1,36 @@
|
|||
From c0c605dd1fcb5afe8dfee3e7609f83a8b0e64820 Mon Sep 17 00:00:00 2001
|
||||
From: ShadowKyogre <shadowkyogre.public@gmail.com>
|
||||
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 <librsvg/rsvg-cairo.h>
|
||||
#endif
|
||||
#ifndef LIBRSVG_FEATURES_H
|
||||
-#include <librsvg/librsvg-features.h>
|
||||
+#include <librsvg/rsvg-features.h>
|
||||
#endif
|
||||
|
||||
#include <X11/Xatom.h>
|
||||
--
|
||||
GitLab
|
||||
|
|
@ -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 <micvlas@gmail.com>"
|
||||
license="MIT, LGPL-2.1-or-later, GPL-2.0-or-later"
|
||||
|
|
Loading…
Reference in a new issue