sync ports with The Matrix
This commit is contained in:
parent
f75c54fe04
commit
a2b482cdca
64 changed files with 1619 additions and 2432 deletions
18
devel/abseil-cpp/patches/patch-absl_base_internal_sysinfo_cc
Normal file
18
devel/abseil-cpp/patches/patch-absl_base_internal_sysinfo_cc
Normal file
|
@ -0,0 +1,18 @@
|
|||
Use getthrid(2) as GetTID() implementation.
|
||||
|
||||
Index: absl/base/internal/sysinfo.cc
|
||||
--- absl/base/internal/sysinfo.cc.orig
|
||||
+++ absl/base/internal/sysinfo.cc
|
||||
@@ -441,6 +441,12 @@ pid_t GetTID() {
|
||||
return reinterpret_cast<pid_t>(thread);
|
||||
}
|
||||
|
||||
+#elif defined(__OpenBSD__)
|
||||
+
|
||||
+pid_t GetTID() {
|
||||
+ return getthrid();
|
||||
+}
|
||||
+
|
||||
#else
|
||||
|
||||
// Fallback implementation of `GetTID` using `pthread_self`.
|
Loading…
Add table
Add a link
Reference in a new issue