summarylogtreecommitdiffstats
path: root/fix-rsvg-features-include.patch
diff options
context:
space:
mode:
authorShadowKyogre2021-09-24 17:42:14 -0700
committerShadowKyogre2021-09-24 17:42:14 -0700
commitae15983dbae92ccdba91d1418e9fdcc1c4426790 (patch)
tree9e6886676e5e69ecf39f14b85d71facec739edf9 /fix-rsvg-features-include.patch
parent04341b39a3a441826479d7226bc24988783c187c (diff)
downloadaur-compiz-core.tar.gz
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, which will be submitted upstream soon.
Diffstat (limited to 'fix-rsvg-features-include.patch')
-rw-r--r--fix-rsvg-features-include.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/fix-rsvg-features-include.patch b/fix-rsvg-features-include.patch
new file mode 100644
index 000000000000..6fe302f5ad57
--- /dev/null
+++ b/fix-rsvg-features-include.patch
@@ -0,0 +1,12 @@
+diff -aur compiz-core/plugins/svg.c compiz-core.modified/plugins/svg.c
+--- compiz-core/plugins/svg.c 2021-09-24 17:15:53.604807992 -0700
++++ compiz-core.modified/plugins/svg.c 2021-09-24 17:34:27.267538329 -0700
+@@ -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>