aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-third__party_abseil-cpp_absl_base_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-third__party_abseil-cpp_absl_base_config.h')
-rw-r--r--devel/electron37/files/patch-third__party_abseil-cpp_absl_base_config.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-third__party_abseil-cpp_absl_base_config.h b/devel/electron37/files/patch-third__party_abseil-cpp_absl_base_config.h
new file mode 100644
index 000000000000..fe6cda6788c0
--- /dev/null
+++ b/devel/electron37/files/patch-third__party_abseil-cpp_absl_base_config.h
@@ -0,0 +1,21 @@
+--- third_party/abseil-cpp/absl/base/config.h.orig 2025-04-22 20:15:27 UTC
++++ third_party/abseil-cpp/absl/base/config.h
+@@ -409,7 +409,7 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] !=
+ #ifdef ABSL_HAVE_SCHED_YIELD
+ #error ABSL_HAVE_SCHED_YIELD cannot be directly set
+ #elif defined(__linux__) || defined(__ros__) || defined(__native_client__) || \
+- defined(__VXWORKS__)
++ defined(__VXWORKS__) || defined(__OpenBSD__) || defined(__FreeBSD__)
+ #define ABSL_HAVE_SCHED_YIELD 1
+ #endif
+
+@@ -424,7 +424,8 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] !=
+ // platforms.
+ #ifdef ABSL_HAVE_SEMAPHORE_H
+ #error ABSL_HAVE_SEMAPHORE_H cannot be directly set
+-#elif defined(__linux__) || defined(__ros__) || defined(__VXWORKS__)
++#elif defined(__linux__) || defined(__ros__) || defined(__VXWORKS__) || \
++ defined(__OpenBSD__) || defined(__FreeBSD__)
+ #define ABSL_HAVE_SEMAPHORE_H 1
+ #endif
+