From owner-dev-commits-ports-all@freebsd.org Mon Sep 20 09:44:24 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B309C67C0A6; Mon, 20 Sep 2021 09:44:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HCflr4hcRz4WBX; Mon, 20 Sep 2021 09:44:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7D06A615A; Mon, 20 Sep 2021 09:44:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18K9iOTg067560; Mon, 20 Sep 2021 09:44:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18K9iO11067559; Mon, 20 Sep 2021 09:44:24 GMT (envelope-from git) Date: Mon, 20 Sep 2021 09:44:24 GMT Message-Id: <202109200944.18K9iO11067559@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 43e895ad805c - main - databases/memcached: fix build on powerpc64le MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 43e895ad805c82e8d84dbf1ca7f014dfa6f2eaf7 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2021 09:44:24 -0000 The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=43e895ad805c82e8d84dbf1ca7f014dfa6f2eaf7 commit 43e895ad805c82e8d84dbf1ca7f014dfa6f2eaf7 Author: Piotr Kubaj AuthorDate: 2021-09-20 09:42:00 +0000 Commit: Piotr Kubaj CommitDate: 2021-09-20 09:42:00 +0000 databases/memcached: fix build on powerpc64le In file included from hash.c:7: In file included from ./xxhash.h:2934: /usr/lib/clang/11.0.1/include/altivec.h:55:19: error: unknown type name 'vector' static __inline__ vector bool char __ATTRS_o_ai ^ /usr/lib/clang/11.0.1/include/altivec.h:56:10: error: unknown type name 'vector' vec_perm(vector bool char __a, vector bool char __b, vector unsigned char __c); --- databases/memcached/files/patch-xxhash.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/databases/memcached/files/patch-xxhash.h b/databases/memcached/files/patch-xxhash.h new file mode 100644 index 000000000000..f62d8def3ef3 --- /dev/null +++ b/databases/memcached/files/patch-xxhash.h @@ -0,0 +1,10 @@ +--- xxhash.h.orig 2021-03-31 12:18:19 UTC ++++ 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 + # endif +