Fixed FTBFS with the librsvg2-2.52
Resolves: rhbz#2045273
This commit is contained in:
parent
5de04ff49c
commit
9d7ce1b99a
|
@ -0,0 +1,16 @@
|
|||
diff --git a/plugins/svg.c b/plugins/svg.c
|
||||
index a0eb715..39fed02 100644
|
||||
--- a/plugins/svg.c
|
||||
+++ b/plugins/svg.c
|
||||
@@ -31,7 +31,10 @@
|
||||
#ifndef RSVG_CAIRO_H
|
||||
#include <librsvg/rsvg-cairo.h>
|
||||
#endif
|
||||
-#ifndef LIBRSVG_FEATURES_H
|
||||
+#if !defined(RSVG_FEATURES_H) && !defined(LIBRSVG_FEATURES_H)
|
||||
+#include <librsvg/rsvg-features.h>
|
||||
+#endif
|
||||
+#if !defined(RSVG_FEATURES_H) && !defined(LIBRSVG_FEATURES_H)
|
||||
#include <librsvg/librsvg-features.h>
|
||||
#endif
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
Name: compiz
|
||||
License: GPLv2+ and LGPLv2+ and MIT
|
||||
Version: 0.8.18
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Epoch: 1
|
||||
Summary: OpenGL window and compositing manager
|
||||
|
||||
|
@ -16,6 +16,7 @@ Source0: %{url}/-/archive/v%{version}/compiz-core-v%{version}.tar.bz2
|
|||
|
||||
# fedora specific
|
||||
Patch0: compiz-0.8.18-fedora-logo.patch
|
||||
Patch1: compiz-0.8.18-rsvg2-2.52-fix.patch
|
||||
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libdrm-devel
|
||||
|
@ -87,6 +88,7 @@ windows and compositing manager.
|
|||
%setup -q -n compiz-core-v%{version}
|
||||
|
||||
%patch0 -p1 -b .fedora-logo
|
||||
%patch1 -p1 -b .rsvg2-2.52-fix
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
|
@ -158,6 +160,10 @@ categories},22x22/{categories,devices,mimetypes}}
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 26 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 1:0.8.18-5
|
||||
- Fixed FTBFS with the librsvg2-2.52
|
||||
Resolves: rhbz#2045273
|
||||
|
||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.8.18-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue