git: 8388f4aef754 - main - graphics/R-cran-s2: fix build on powerpc64*

Piotr Kubaj pkubaj at FreeBSD.org
Sun Oct 3 20:18:20 UTC 2021


The branch main has been updated by pkubaj:

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

commit 8388f4aef754b02c4b73b09ef10236087acc5cce
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-10-03 20:08:32 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-10-03 20:08:32 +0000

    graphics/R-cran-s2: fix build on powerpc64*
---
 .../patch-src_absl_base_internal_unscaledcycleclock.cc     | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/graphics/R-cran-s2/files/patch-src_absl_base_internal_unscaledcycleclock.cc b/graphics/R-cran-s2/files/patch-src_absl_base_internal_unscaledcycleclock.cc
new file mode 100644
index 000000000000..5118d6f31cb9
--- /dev/null
+++ b/graphics/R-cran-s2/files/patch-src_absl_base_internal_unscaledcycleclock.cc
@@ -0,0 +1,14 @@
+--- src/absl/base/internal/unscaledcycleclock.cc.orig	2021-10-02 21:54:01 UTC
++++ src/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
+ 


More information about the dev-commits-ports-all mailing list