From 592eea28d524a065d6fae620dedb02c5ab5c4a93 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 03:56:16 +0100 Subject: [PATCH] rebuilt by autoport with build requirements: libbinutils-devel>=2.34-1mamba [release 1.17.2-3mamba;Sun Feb 16 2020] --- libcairo-1.17.2-binutils-2.34.patch | 26 ++++++++++++++++++++++++++ libcairo.spec | 9 +++++++-- 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 libcairo-1.17.2-binutils-2.34.patch diff --git a/libcairo-1.17.2-binutils-2.34.patch b/libcairo-1.17.2-binutils-2.34.patch new file mode 100644 index 0000000..18b993f --- /dev/null +++ b/libcairo-1.17.2-binutils-2.34.patch @@ -0,0 +1,26 @@ +--- cairo-1.17.2/util/cairo-trace/lookup-symbol.c.orig 2020-02-29 12:26:11.482000000 +0100 ++++ cairo-1.17.2/util/cairo-trace/lookup-symbol.c 2020-02-29 12:27:06.224000000 +0100 +@@ -67,6 +67,14 @@ + #include + #include + ++#ifndef bfd_get_section_flags ++#define bfd_get_section_flags(H, S) bfd_section_flags(S) ++#endif /* bfd_get_section_flags */ ++ ++#ifndef bfd_get_section_vma ++#define bfd_get_section_vma(H, S) bfd_section_vma(S) ++#endif /* bfd_get_section_vma */ ++ + struct symtab { + bfd *bfd; + asymbol **syms; +@@ -152,7 +160,7 @@ + if (symbol->pc < vma) + return; + +- size = bfd_section_size (symtab->bfd, section); ++ size = bfd_section_size (section); + if (symbol->pc >= vma + size) + return; + diff --git a/libcairo.spec b/libcairo.spec index d09c80e..518aa9f 100644 --- a/libcairo.spec +++ b/libcairo.spec @@ -15,7 +15,7 @@ Name: libcairo Version: 1.17.2 -Release: 2mamba +Release: 3mamba Summary: Cairo provides anti-aliased vector-based rendering for X Group: System/Libraries Vendor: openmamba @@ -25,6 +25,7 @@ URL: http://www.cairographics.org Source: https://www.cairographics.org/snapshots/cairo-%{version}.tar.xz #Source: http://cairographics.org/releases/cairo-%{version}.tar.xz Patch0: libcairo-1.12.4-expose_snapshot.patch +Patch1: libcairo-1.17.2-binutils-2.34.patch License: LGPL, MPL 1.1 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -51,7 +52,7 @@ BuildRequires: libXext-devel BuildRequires: libXrender-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END -BuildRequires: libbinutils-devel >= 2.33.1-2mamba +BuildRequires: libbinutils-devel >= 2.34-1mamba BuildRequires: pkgconfig %if %{with_ps} BuildRequires: libspectre-devel @@ -184,6 +185,7 @@ This package contains development tools for %{name}. %prep %setup -q -n %{pkgname}-%{version} #%patch0 -p1 +%patch1 -p1 %build %configure \ @@ -283,6 +285,9 @@ sed -i "s|%{_libdir}/libcairo-gobject.la||g" %{_libdir}/*.la 2>/dev/null %{_datadir}/gtk-doc/html/%{pkgname} %changelog +* Sun Feb 16 2020 Silvan Calarco 1.17.2-3mamba +- rebuilt by autoport with build requirements: libbinutils-devel>=2.34-1mamba + * Sat Nov 23 2019 Silvan Calarco 1.17.2-2mamba - rebuilt by autoport with build requirements: libbinutils-devel>=2.33.1-2mamba