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.spec b/amule.spec index 700d56a..1d75995 100644 --- a/amule.spec +++ b/amule.spec @@ -1,6 +1,6 @@ Name: amule -Version: 11025 -Release: 2mamba +Version: 11028 +Release: 1mamba Summary: An eMule-like client for the eD2k and Kademlia file sharing networks Group: Graphical Desktop/Applications/Internet Vendor: openmamba @@ -12,6 +12,7 @@ Source: git://repo.or.cz/amule.git/amule-svn-r%{version}/amule-%{version} Source1: aMule-wrapper.sh Patch1: aMule-2.1.3-wx.patch Patch2: amule-2.3.1-gcc-4.7.patch +Patch3: amule-11028-binutils-2.34.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -31,7 +32,7 @@ BuildRequires: libX11-devel BuildRequires: libXpm-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: libopenssl-devel @@ -64,6 +65,7 @@ aMule is an eMule-like client for the eD2k and Kademlia networks, supporting mul %setup -q #%patch1 -p1 #%patch2 -p1 +%patch3 -p1 %build %configure \ @@ -127,6 +129,9 @@ test x%{buildroot} != x/ && rm -rf %{buildroot} %doc ABOUT-NLS %changelog +* Sat Feb 29 2020 Silvan Calarco 11028-1mamba +- update to 11028 + * Sat Nov 23 2019 Silvan Calarco 11025-2mamba - rebuilt by autoport with build requirements: libbinutils-devel>=2.33.1-2mamba