Date: Fri, 1 Jul 2022 06:17:10 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 865e71116bd5 - main - multimedia/ringrtc: fix build on powerpc* Message-ID: <202207010617.2616HAAq052289@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=865e71116bd5a4c500fcfc7f251dfac1b53c342f commit 865e71116bd5a4c500fcfc7f251dfac1b53c342f Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-06-30 22:45:06 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-07-01 06:17:09 +0000 multimedia/ringrtc: fix build on powerpc* In file included from ../../third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc:27: /usr/include/sys/sysctl.h:1185:25: error: unknown type name 'u_int' int sysctl(const int *, u_int, void *, size_t *, const void *, size_t); ^ ../../third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc:89:10: error: unknown type name 'once_flag' static once_flag init_timebase_frequency_once; ^ ../../third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc:91:18: error: no member named 'LowLevelCallOnce' in namespace 'absl::base_internal' base_internal::LowLevelCallOnce(&init_timebase_frequency_once, [&]() { ~~~~~~~~~~~~~~~^ --- ...rty_abseil-cpp_absl_base_internal_unscaledcycleclock.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/multimedia/ringrtc/files/patch-src_webrtc_src_third__party_abseil-cpp_absl_base_internal_unscaledcycleclock.cc b/multimedia/ringrtc/files/patch-src_webrtc_src_third__party_abseil-cpp_absl_base_internal_unscaledcycleclock.cc new file mode 100644 index 000000000000..fb15995c2be3 --- /dev/null +++ b/multimedia/ringrtc/files/patch-src_webrtc_src_third__party_abseil-cpp_absl_base_internal_unscaledcycleclock.cc @@ -0,0 +1,14 @@ +--- ../../src/webrtc/src/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc.orig 2020-08-09 20:09:49 UTC ++++ ../../src/webrtc/src/third_party/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +@@ -24,8 +24,10 @@ + #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> ++#include <threads.h> + #endif + #endif +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207010617.2616HAAq052289>