ports/www/ungoogled-chromium/patches/patch-base_debug_elf_reader_cc

15 lines
450 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: base/debug/elf_reader.cc
--- base/debug/elf_reader.cc.orig
+++ base/debug/elf_reader.cc
2024-05-20 13:42:05 +00:00
@@ -45,6 +45,10 @@ using Xword = Elf64_Xword;
constexpr char kGnuNoteName[] = "GNU";
2023-08-16 22:26:55 +00:00
2024-05-20 13:42:05 +00:00
+#ifndef NT_GNU_BUILD_ID
+#define NT_GNU_BUILD_ID 3
+#endif
+
// Returns a pointer to the header of the ELF binary mapped into memory, or a
// null pointer if the header is invalid. Here and below |elf_mapped_base| is a
// pointer to the start of the ELF image.