summaryrefslogtreecommitdiff
path: root/net-p2p/amule/files/amule-2.3.2-Fixed-compilation-with-newer-bfd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/amule/files/amule-2.3.2-Fixed-compilation-with-newer-bfd.patch')
-rw-r--r--net-p2p/amule/files/amule-2.3.2-Fixed-compilation-with-newer-bfd.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/net-p2p/amule/files/amule-2.3.2-Fixed-compilation-with-newer-bfd.patch b/net-p2p/amule/files/amule-2.3.2-Fixed-compilation-with-newer-bfd.patch
deleted file mode 100644
index 3ef8a21fa45c..000000000000
--- a/net-p2p/amule/files/amule-2.3.2-Fixed-compilation-with-newer-bfd.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From c0c28234a40b1b575ce51cdfe5ffa5dac3a7494c Mon Sep 17 00:00:00 2001
-From: Werner Mahr <werner@vollstreckernet.de>
-Date: Fri, 31 Jan 2020 17:55:24 +0100
-Subject: [PATCH] Fixed compilation with newer bfd. Fixes: #174
-
----
- src/libs/common/MuleDebug.cpp | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/libs/common/MuleDebug.cpp b/src/libs/common/MuleDebug.cpp
-index 5d8d75890..0ebf2ab07 100644
---- a/src/libs/common/MuleDebug.cpp
-+++ b/src/libs/common/MuleDebug.cpp
-@@ -268,14 +268,14 @@ void get_file_line_info(bfd *abfd, asection *section, void* _address)
- return;
- }
-
-- bfd_vma vma = bfd_get_section_vma(abfd, section);
-+ bfd_vma vma = section->vma;
-
- unsigned long address = (unsigned long)_address;
- if (address < vma) {
- return;
- }
-
-- bfd_size_type size = bfd_section_size(abfd, section);
-+ bfd_size_type size = section->size;
- if (address > (vma + size)) {
- return;
- }
---
-2.24.1
-