aports/community/chromium/yes-musl.patch
lauren n. liberda 09c0c63ecf community/chromium: upgrade to 120.0.6099.71
and a fuckton of other changes.
* chromium can no longer be built without non-trivial patches GCC.
  also it can't be built with clang with libstdc++. now instead of
  patching shit until it builds with libstdc++ we have to bundle libcxx.
  this breaks unbundling of the dependencies exposing APIs with C++ std types,
  like std::string or std::vector.
* otoh, unbundling more of what's possible now. it built on my machine instead
  of throwing std::bad_alloc at the end, so I guess this works.
* reorganized patches. more reuse from gentoo, patches over same file merged.
2023-12-09 13:25:13 +00:00

12 lines
450 B
Diff

--- ./buildtools/third_party/libc++/__config_site.orig
+++ ./buildtools/third_party/libc++/__config_site
@@ -18,7 +18,7 @@
/* #undef _LIBCPP_ABI_FORCE_MICROSOFT */
/* #undef _LIBCPP_HAS_NO_THREADS */
/* #undef _LIBCPP_HAS_NO_MONOTONIC_CLOCK */
-/* #undef _LIBCPP_HAS_MUSL_LIBC */
+#define _LIBCPP_HAS_MUSL_LIBC 1
/* #undef _LIBCPP_HAS_THREAD_API_PTHREAD */
/* #undef _LIBCPP_HAS_THREAD_API_EXTERNAL */
/* #undef _LIBCPP_HAS_THREAD_API_WIN32 */