rebuilt by autoport with build requirements: libbinutils-devel>=2.34-1mamba [release 1.17.2-3mamba;Sun Feb 16 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 03:56:16 +01:00
parent ef434bdf66
commit 592eea28d5
2 changed files with 33 additions and 2 deletions

View File

@ -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 <bfd.h>
#include <libiberty.h>
+#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;

View File

@ -15,7 +15,7 @@
Name: libcairo Name: libcairo
Version: 1.17.2 Version: 1.17.2
Release: 2mamba Release: 3mamba
Summary: Cairo provides anti-aliased vector-based rendering for X Summary: Cairo provides anti-aliased vector-based rendering for X
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -25,6 +25,7 @@ URL: http://www.cairographics.org
Source: https://www.cairographics.org/snapshots/cairo-%{version}.tar.xz Source: https://www.cairographics.org/snapshots/cairo-%{version}.tar.xz
#Source: http://cairographics.org/releases/cairo-%{version}.tar.xz #Source: http://cairographics.org/releases/cairo-%{version}.tar.xz
Patch0: libcairo-1.12.4-expose_snapshot.patch Patch0: libcairo-1.12.4-expose_snapshot.patch
Patch1: libcairo-1.17.2-binutils-2.34.patch
License: LGPL, MPL 1.1 License: LGPL, MPL 1.1
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -51,7 +52,7 @@ BuildRequires: libXext-devel
BuildRequires: libXrender-devel BuildRequires: libXrender-devel
BuildRequires: libz-devel BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libbinutils-devel >= 2.33.1-2mamba BuildRequires: libbinutils-devel >= 2.34-1mamba
BuildRequires: pkgconfig BuildRequires: pkgconfig
%if %{with_ps} %if %{with_ps}
BuildRequires: libspectre-devel BuildRequires: libspectre-devel
@ -184,6 +185,7 @@ This package contains development tools for %{name}.
%prep %prep
%setup -q -n %{pkgname}-%{version} %setup -q -n %{pkgname}-%{version}
#%patch0 -p1 #%patch0 -p1
%patch1 -p1
%build %build
%configure \ %configure \
@ -283,6 +285,9 @@ sed -i "s|%{_libdir}/libcairo-gobject.la||g" %{_libdir}/*.la 2>/dev/null
%{_datadir}/gtk-doc/html/%{pkgname} %{_datadir}/gtk-doc/html/%{pkgname}
%changelog %changelog
* Sun Feb 16 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.17.2-3mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.34-1mamba
* Sat Nov 23 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.17.2-2mamba * Sat Nov 23 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.17.2-2mamba
- rebuilt by autoport with build requirements: libbinutils-devel>=2.33.1-2mamba - rebuilt by autoport with build requirements: libbinutils-devel>=2.33.1-2mamba