Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2021 12:27:29 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: 792f2abbfa8e - main - devel/R-cran-rlang: fix build on powerpc64le
Message-ID:  <202104061227.136CRTwY035319@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=792f2abbfa8e991b949bc3f8ed6843fafa815358

commit 792f2abbfa8e991b949bc3f8ed6843fafa815358
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-04-06 12:27:37 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-04-06 12:27:37 +0000

    devel/R-cran-rlang: fix build on powerpc64le
    
    In file included from ./internal/xxhash/xxhash.h:2412:
    /usr/lib/clang/11.0.1/include/altivec.h:55:19: error: unknown type name 'vector'
    static __inline__ vector bool char __ATTRS_o_ai
---
 devel/R-cran-rlang/patch-src_internal_xxhash_xxhash.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/devel/R-cran-rlang/patch-src_internal_xxhash_xxhash.h b/devel/R-cran-rlang/patch-src_internal_xxhash_xxhash.h
new file mode 100644
index 000000000000..4728619066d6
--- /dev/null
+++ b/devel/R-cran-rlang/patch-src_internal_xxhash_xxhash.h
@@ -0,0 +1,10 @@
+--- src/internal/xxhash/xxhash.h.orig	2021-03-31 12:18:19 UTC
++++ src/internal/xxhash/xxhash.h
+@@ -2409,6 +2409,7 @@ XXH_PUBLIC_API XXH64_hash_t XXH64_hashFromCanonical(co
+ #    if defined(__GNUC__) && !defined(__APPLE_ALTIVEC__)
+ #      define __APPLE_ALTIVEC__
+ #    endif
++#    define vector __vector
+ #    include <altivec.h>
+ #  endif
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104061227.136CRTwY035319>