]> git.pld-linux.org Git - packages/aMule.git/blobdiff - binutils-2.34.patch
- fix building with binutils 2.34
[packages/aMule.git] / binutils-2.34.patch
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.064635 seconds and 4 git commands to generate.