diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-07-28 09:54:54 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2020-07-28 09:54:54 -0400 |
commit | 734427ad69fcf920f861ebfe4b1141c89496317b (patch) | |
tree | d49fd81a147f543237569152cae03aedb0dfa534 /x11-libs/cairo/files/cairo-1.16.0-binutils-2.34.patch | |
parent | d241ee7943383a8ad8aacd70d5e301a6acf22c38 (diff) | |
download | gentoo-overlay-734427ad69fcf920f861ebfe4b1141c89496317b.tar.xz gentoo-overlay-734427ad69fcf920f861ebfe4b1141c89496317b.zip |
import more packages
Diffstat (limited to 'x11-libs/cairo/files/cairo-1.16.0-binutils-2.34.patch')
-rw-r--r-- | x11-libs/cairo/files/cairo-1.16.0-binutils-2.34.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-libs/cairo/files/cairo-1.16.0-binutils-2.34.patch b/x11-libs/cairo/files/cairo-1.16.0-binutils-2.34.patch new file mode 100644 index 0000000..03daac0 --- /dev/null +++ b/x11-libs/cairo/files/cairo-1.16.0-binutils-2.34.patch @@ -0,0 +1,20 @@ +--- a/util/cairo-trace/lookup-symbol.c ++++ b/util/cairo-trace/lookup-symbol.c +@@ -145,14 +145,14 @@ find_address_in_section (bfd *abfd, + if (symbol->found) + return; + +- if ((bfd_get_section_flags (symtab->bfd, section) & SEC_ALLOC) == 0) ++ if ((bfd_section_flags (section) & SEC_ALLOC) == 0) + return; + +- vma = bfd_get_section_vma (symtab->bfd, section); ++ vma = bfd_section_vma (section); + if (symbol->pc < vma) + return; + +- size = bfd_section_size (symtab->bfd, section); ++ size = bfd_section_size (section); + if (symbol->pc >= vma + size) + return; + |