aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/musl-hacks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/chromium/musl-hacks.patch')
-rw-r--r--community/chromium/musl-hacks.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/community/chromium/musl-hacks.patch b/community/chromium/musl-hacks.patch
new file mode 100644
index 0000000000..d1f580a81d
--- /dev/null
+++ b/community/chromium/musl-hacks.patch
@@ -0,0 +1,22 @@
+--- ./third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_userspace.c.orig
++++ ./third_party/usrsctp/usrsctplib/usrsctplib/netinet/sctp_userspace.c
+@@ -72,7 +72,7 @@
+ pthread_setname_np(name);
+ #endif
+ #if defined(__Userspace_os_Linux)
+- pthread_setname_np(pthread_self(), name);
++ //pthread_setname_np(pthread_self(), name);
+ #endif
+ #if defined(__Userspace_os_FreeBSD)
+ pthread_set_name_np(pthread_self(), name);
+--- ./base/debug/stack_trace.cc.orig
++++ ./base/debug/stack_trace.cc
+@@ -33,7 +33,7 @@
+
+ std::string StackTrace::ToString() const {
+ std::stringstream stream;
+-#if !defined(__UCLIBC__)
++#if defined(__GLIBC__)
+ OutputToStream(&stream);
+ #endif
+ return stream.str();