From 12f56f81029c0c0720730d2edc85b0c13b00b645 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 19 Nov 2024 00:55:22 -0600 Subject: user/arcticfox: New package This browser would not be necessary if Firefox worked on the PPCs. Tested on 32-bit and 64-bit PowerPC. --- user/arcticfox/override-cxx-version.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 user/arcticfox/override-cxx-version.patch (limited to 'user/arcticfox/override-cxx-version.patch') diff --git a/user/arcticfox/override-cxx-version.patch b/user/arcticfox/override-cxx-version.patch new file mode 100644 index 000000000..6486c702e --- /dev/null +++ b/user/arcticfox/override-cxx-version.patch @@ -0,0 +1,17 @@ +ICU 75 requires C++17 mode as a bare minimum. + +--- Arctic-Fox-45.1/build/moz.configure/toolchain.configure.old 2024-09-30 14:54:44.000000000 -0500 ++++ Arctic-Fox-45.1/build/moz.configure/toolchain.configure 2024-11-19 00:21:31.792210428 -0600 +@@ -339,9 +339,9 @@ + # Note: MSVC, while supporting C++11, still reports 199711L for __cplusplus. + # Note: this is a strict version check because we used to always add + # -std=gnu++11. +- if info.language == 'C++' and info.language_version != 201103: +- if info.type in ('clang-cl', 'clang', 'gcc'): +- append_flag('-std=gnu++11') ++ if info.language == 'C++' and info.language_version < 201703: ++ if info.type in ('clang', 'gcc'): ++ append_flag('-std=gnu++17') + + # We force clang-cl to emulate Visual C++ 2013 Update 3 with fallback to + # cl.exe. -- cgit v1.2.3-70-g09d2