mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 16:21:50 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
18 lines
756 B
C++
18 lines
756 B
C++
--- base/debug/elf_reader.cc.orig 2023-10-19 19:57:58 UTC
|
|
+++ base/debug/elf_reader.cc
|
|
@@ -78,6 +78,7 @@ size_t ReadElfBuildId(const void* elf_mapped_base,
|
|
bool found = false;
|
|
while (current_section < section_end) {
|
|
current_note = reinterpret_cast<const Nhdr*>(current_section);
|
|
+#if !BUILDFLAG(IS_BSD)
|
|
if (current_note->n_type == NT_GNU_BUILD_ID) {
|
|
StringPiece note_name(current_section + sizeof(Nhdr),
|
|
current_note->n_namesz);
|
|
@@ -87,6 +88,7 @@ size_t ReadElfBuildId(const void* elf_mapped_base,
|
|
break;
|
|
}
|
|
}
|
|
+#endif
|
|
|
|
size_t section_size = bits::AlignUp(current_note->n_namesz, 4u) +
|
|
bits::AlignUp(current_note->n_descsz, 4u) +
|