aports/testing/firefox-developer-edition/musl-no-linux-prctl.patch

20 lines
588 B
Diff

see https://www.openwall.com/lists/musl/2025/06/12/11
/usr/include/sys/prctl.h:88:8: error: redefinition of 'prctl_mm_map'
88 | struct prctl_mm_map {
| ^
/usr/include/linux/prctl.h:134:8: note: previous definition is here
134 | struct prctl_mm_map {
| ^
--- a/third_party/libwebrtc/rtc_base/platform_thread_types.cc
+++ b/third_party/libwebrtc/rtc_base/platform_thread_types.cc
@@ -12,7 +12,6 @@
// IWYU pragma: begin_keep
#if defined(WEBRTC_LINUX)
-#include <linux/prctl.h>
#include <sys/prctl.h>
#include <sys/syscall.h>