head 1.1; access; symbols; locks; strict; comment @// @; 1.1 date 2026.08.27.01.23.17; author gutteridge; state Exp; branches; next ; commitid jHXIs10wmSYxkdTG; desc @@ 1.1 log @firefox153: import Firefox 153.1 as www/firefox153 Mozilla Firefox is a free, open-source and cross-platform web browser for Windows, Linux, MacOS X and many other operating systems. It is fast and easy to use, and offers many advantages over other web browsers, such as tabbed browsing and the ability to block pop-up windows. Firefox also offers excellent bookmark and history management, and it can be extended by developers using industry standards such as XML, CSS, JavaScript, C++, etc. Many extensions are available. Note: Due to upstream's trademark policies, this package identifies as "Nightly" rather than "Firefox" by default. This package provides Firefox 153 Extended Support Release. @ text @$NetBSD: patch-third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.cc,v 1.4 2025/12/15 21:09:16 gutteridge Exp $ * NetBSD has no DT_GNU_HASH definition. * Fix builds with NetBSD >= 11.99.4, where ELF definitions were changed. --- third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc.orig 2025-11-06 22:07:37.000000000 +0000 +++ third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc @@@@ -221,6 +225,10 @@@@ void ElfMemImage::Init(const void *base) for (; dynamic_entry->d_tag != DT_NULL; ++dynamic_entry) { const auto value = static_cast(dynamic_entry->d_un.d_val) + relocation; +/* For NetBSD 9 */ +#if !defined(DT_GNU_HASH) +#define DT_GNU_HASH 0x6ffffef5 +#endif switch (dynamic_entry->d_tag) { case DT_HASH: sysv_hash = reinterpret_cast(value); @@@@ -377,7 +385,7 @@@@ void ElfMemImage::SymbolIterator::Update const ElfW(Versym) *version_symbol = image->GetVersym(index_); ABSL_RAW_CHECK(symbol && version_symbol, ""); const char *const symbol_name = image->GetDynstr(symbol->st_name); -#if defined(__NetBSD__) +#if defined(__NetBSD__) && ((_SYS_EXEC_ELF_H_ + 0) < 2) const int version_index = version_symbol->vs_vers & VERSYM_VERSION; #else const ElfW(Versym) version_index = version_symbol[0] & VERSYM_VERSION; @