<pre style='margin:0'>
Mohamed Akram (mohd-akram) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6df519ebe4a9241d24b27edc3e162b2024860a8e">https://github.com/macports/macports-ports/commit/6df519ebe4a9241d24b27edc3e162b2024860a8e</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 6df519ebe4a onetbb: improve version check in patch
</span>6df519ebe4a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6df519ebe4a9241d24b27edc3e162b2024860a8e
</span>Author: Mohamed Akram <makr@macports.org>
AuthorDate: Sun Apr 21 18:01:56 2024 +0400
<span style='display:block; white-space:pre;color:#404040;'> onetbb: improve version check in patch
</span>---
devel/onetbb/files/patch-onetbb-dispatch-fallback.diff | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/onetbb/files/patch-onetbb-dispatch-fallback.diff b/devel/onetbb/files/patch-onetbb-dispatch-fallback.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index c623d2317ac..0f4940b3ddf 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/onetbb/files/patch-onetbb-dispatch-fallback.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/onetbb/files/patch-onetbb-dispatch-fallback.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,7 @@ index 9d27f3ac..b8942329 100644
</span> #include <windows.h>
#elif __APPLE__
+#include <AvailabilityMacros.h>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if MAC_OS_X_VERSION_MIN_REQUIRED > 1050 && !defined(__ppc__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 && !defined(__ppc__)
</span> #include <dispatch/dispatch.h>
#else
+#include <mach/semaphore.h>
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,7 +23,7 @@ index 9d27f3ac..b8942329 100644
</span> };
#elif __APPLE__
//! Edsger Dijkstra's counting semaphore
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if MAC_OS_X_VERSION_MIN_REQUIRED > 1050 && !defined(__ppc__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 && !defined(__ppc__)
</span> class semaphore : no_copy {
public:
//! ctor
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -66,7 +66,7 @@ index 9d27f3ac..b8942329 100644
</span> #endif /* !__TBB_USE_SRWLOCK */
#elif __APPLE__
//! binary_semaphore for concurrent monitor
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if MAC_OS_X_VERSION_MIN_REQUIRED > 1050 && !defined(__ppc__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 && !defined(__ppc__)
</span> using binary_semaphore = semaphore;
+#else
+class binary_semaphore : no_copy {
</pre><pre style='margin:0'>
</pre>