Summary(pl.UTF-8): Uniksowy port klienta eMule
Name: aMule
Version: 2.3.2
-Release: 9
+Release: 10
License: GPL v2+
Group: X11/Applications
Source0: http://downloads.sourceforge.net/amule/%{name}-%{version}.tar.bz2
Patch1: %{name}-cas-datadir.patch
Patch2: %{name}-ac.patch
Patch3: %{name}-cryptopp.patch
+Patch4: binutils-2.34.patch
URL: http://www.amule.org/
BuildRequires: GeoIP-devel
BuildRequires: autoconf >= 2.59
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
%{__aclocal} -I m4
--- /dev/null
+--- aMule-2.3.2/src/libs/common/MuleDebug.cpp.orig 2016-09-16 09:55:07.000000000 +0200
++++ aMule-2.3.2/src/libs/common/MuleDebug.cpp 2020-03-23 18:00:45.013375544 +0100
+@@ -268,14 +268,14 @@
+ return;
+ }
+
+- bfd_vma vma = bfd_get_section_vma(abfd, section);
++ bfd_vma vma = bfd_section_vma(section);
+
+ unsigned long address = (unsigned long)_address;
+ if (address < vma) {
+ return;
+ }
+
+- bfd_size_type size = bfd_section_size(abfd, section);
++ bfd_size_type size = bfd_section_size(section);
+ if (address > (vma + size)) {
+ return;
+ }