termux-packages/packages/dwarves/dutil.h.patch

12 lines
281 B
Diff
Raw Normal View History

2021-12-04 15:36:32 +01:00
--- 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)
{