termux-packages/packages/dwarves/dutil.h.patch
2021-12-05 11:53:55 +02:00

12 lines
281 B
Diff

--- a/dutil.h
+++ b/dutil.h
@@ -326,7 +326,7 @@
Elf_Scn *elf_section_by_idx(Elf *elf, GElf_Shdr *shp, int idx);
-#ifndef SHT_GNU_ATTRIBUTES
+#if 0
/* Just a way to check if we're using an old elfutils version */
static inline int elf_getshdrstrndx(Elf *elf, size_t *dst)
{