diff --git a/amule-11028-binutils-2.34.patch b/amule-11028-binutils-2.34.patch new file mode 100644 index 0000000..65e0783 --- /dev/null +++ b/amule-11028-binutils-2.34.patch @@ -0,0 +1,22 @@ +--- amule-11028/src/libs/common/MuleDebug.cpp.orig 2020-02-29 12:08:47.140000000 +0100 ++++ amule-11028/src/libs/common/MuleDebug.cpp 2020-02-29 12:08:53.000000000 +0100 +@@ -178,6 +178,10 @@ + + #ifdef HAVE_BFD + ++#ifndef bfd_get_section_vma ++#define bfd_get_section_vma(H, S) bfd_section_vma(S) ++#endif /* bfd_get_section_vma */ ++ + static bfd* s_abfd; + static asymbol** s_symbol_list; + static bool s_have_backtrace_symbols = false; +@@ -275,7 +279,7 @@ + return; + } + +- bfd_size_type size = bfd_section_size(abfd, section); ++ bfd_size_type size = bfd_section_size(section); + if (address > (vma + size)) { + return; + } diff --git a/amule-adunanza.spec b/amule-adunanza.spec index a3d6232..688c2f8 100644 --- a/amule-adunanza.spec +++ b/amule-adunanza.spec @@ -3,7 +3,7 @@ Name: amule-adunanza Epoch: 1 Version: 2012.1.2.3.1 -Release: 9mamba +Release: 10mamba Summary: An eMule-like client for the eD2k and Kademlia file sharing networks Group: Graphical Desktop/Applications/Internet Vendor: openmamba @@ -17,6 +17,7 @@ Patch2: aMule-2.1.3-servers.patch Patch3: aMule-AdunanzA-3.14b3-glib-2.8.10.patch Patch4: %{name}-2010.1.2.2.6-gcc45.patch Patch5: amule-adunanza-2010.1.2.2.6-gcc-4.7.patch +Patch6: amule-11028-binutils-2.34.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -41,7 +42,7 @@ BuildRequires: libwxBase-unicode-devel BuildRequires: libwxGTK-unicode-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END -BuildRequires: libbinutils-devel >= 2.33.1-2mamba +BuildRequires: libbinutils-devel >= 2.34 BuildRequires: gettext-devel BuildRequires: libcurl-devel >= 7.12.0 BuildRequires: libcryptopp-devel @@ -92,6 +93,7 @@ This package contains the documentation files. %patch3 -p1 #%patch4 -p1 #%patch5 -p1 +%patch6 -p1 %build %configure \ @@ -156,6 +158,9 @@ sed -i "s|Exec=amulegui|Exec=amulegui-adunanza|" %{buildroot}%{_datadir}/applica %doc docs/README docs/amulesig.txt docs/license.txt %changelog +* Sat Feb 29 2020 Silvan Calarco 2012.1.2.3.1-10mamba +- rebuilt with binutils 2.34 + * Sat Nov 23 2019 Silvan Calarco 2012.1.2.3.1-9mamba - rebuilt by autoport with build requirements: libbinutils-devel>=2.33.1-2mamba