wok diff amule/stuff/patches/MuleDebug.cpp-2.3.2 @ rev 24808

updated libmtp, libmtp-dev and mtp-tools (1.1.17 -> 1.1.19)
author Hans-G?nter Theisgen
date Tue Mar 22 16:29:00 2022 +0100 (2022-03-22)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/amule/stuff/patches/MuleDebug.cpp-2.3.2	Tue Mar 22 16:29:00 2022 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +--- src/libs/common/MuleDebug.cpp.orig
     1.5 ++++ src/libs/common/MuleDebug.cpp
     1.6 +@@ -268,7 +268,7 @@
     1.7 + 		return;
     1.8 + 	}
     1.9 + 
    1.10 +-	bfd_vma vma = bfd_get_section_vma(abfd, section);
    1.11 ++	bfd_vma vma = bfd_section_vma(section);
    1.12 + 
    1.13 + 	unsigned long address = (unsigned long)_address;
    1.14 + 	if (address < vma) {
    1.15 +@@ -275,7 +275,7 @@
    1.16 + 		return;
    1.17 + 	}
    1.18 + 
    1.19 +-	bfd_size_type size = bfd_section_size(abfd, section);
    1.20 ++	bfd_size_type size = bfd_section_size(section);
    1.21 + 	if (address > (vma + size)) {
    1.22 + 		return;
    1.23 + 	}