git: dce394d95efb - main - devel/py-ddtrace: fix build on powerpc*

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 23 Aug 2023 22:26:04 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dce394d95efbb8be2c4e530402fb897b4f3d9790

commit dce394d95efbb8be2c4e530402fb897b4f3d9790
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-08-23 22:24:19 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-08-23 22:24:19 +0000

    devel/py-ddtrace: fix build on powerpc*
---
 ...-cpp-20211102.0_absl_base_internal_unscaledcycleclock.cc | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/devel/py-ddtrace/files/patch-ddtrace_appsec_iast___taint__tracking_abseil-cpp-20211102.0_absl_base_internal_unscaledcycleclock.cc b/devel/py-ddtrace/files/patch-ddtrace_appsec_iast___taint__tracking_abseil-cpp-20211102.0_absl_base_internal_unscaledcycleclock.cc
new file mode 100644
index 000000000000..e6d0459d520c
--- /dev/null
+++ b/devel/py-ddtrace/files/patch-ddtrace_appsec_iast___taint__tracking_abseil-cpp-20211102.0_absl_base_internal_unscaledcycleclock.cc
@@ -0,0 +1,13 @@
+--- ddtrace/appsec/iast/_taint_tracking/abseil-cpp-20211102.0/absl/base/internal/unscaledcycleclock.cc.orig	2023-05-10 10:35:21 UTC
++++ ddtrace/appsec/iast/_taint_tracking/abseil-cpp-20211102.0/absl/base/internal/unscaledcycleclock.cc
+@@ -24,8 +24,9 @@
+ #ifdef __GLIBC__
+ #include <sys/platform/ppc.h>
+ #elif defined(__FreeBSD__)
+-#include <sys/sysctl.h>
++#include "absl/base/call_once.h"
+ #include <sys/types.h>
++#include <sys/sysctl.h>
+ #endif
+ #endif
+