]> git.pld-linux.org Git - packages/aMule.git/commitdiff
- fix building with binutils 2.34 auto/th/aMule-2.3.2-10
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 23 Mar 2020 17:04:23 +0000 (18:04 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 23 Mar 2020 17:04:23 +0000 (18:04 +0100)
- rel 10

aMule.spec
binutils-2.34.patch [new file with mode: 0644]

index ccbebb5e3459253ea88a173741d9257e9cea2625..4e92fdb482e1d5b017406c07c54674051366118f 100644 (file)
@@ -5,7 +5,7 @@ Summary:        Unix port of eMule client
 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
@@ -14,6 +14,7 @@ Patch0:               %{name}-desktop.patch
 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
@@ -96,6 +97,7 @@ Narzędzie do generownia statystyk aMule.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__aclocal} -I m4
diff --git a/binutils-2.34.patch b/binutils-2.34.patch
new file mode 100644 (file)
index 0000000..8519c71
--- /dev/null
@@ -0,0 +1,19 @@
+--- 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;
+       }
This page took 0.078581 seconds and 4 git commands to generate.