From owner-svn-ports-all@freebsd.org Wed Aug 19 16:18:25 2020 Return-Path: Delivered-To: svn-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 6E96D3C2E03; Wed, 19 Aug 2020 16:18:25 +0000 (UTC) (envelope-from sunpoet@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BWtHh3hqtz43hx; Wed, 19 Aug 2020 16:18:23 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0E16625674; Wed, 19 Aug 2020 16:18:23 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07JGIM7e066320; Wed, 19 Aug 2020 16:18:22 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07JGIMKT066319; Wed, 19 Aug 2020 16:18:22 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202008191618.07JGIMKT066319@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Wed, 19 Aug 2020 16:18:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r545344 - head/databases/tiledb/files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/databases/tiledb/files X-SVN-Commit-Revision: 545344 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Aug 2020 16:18:25 -0000 Author: sunpoet Date: Wed Aug 19 16:18:22 2020 New Revision: 545344 URL: https://svnweb.freebsd.org/changeset/ports/545344 Log: Fix build with Clang 9+ Added: head/databases/tiledb/files/patch-external-src-blosc-shuffle.cc (contents, props changed) Added: head/databases/tiledb/files/patch-external-src-blosc-shuffle.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/tiledb/files/patch-external-src-blosc-shuffle.cc Wed Aug 19 16:18:22 2020 (r545344) @@ -0,0 +1,26 @@ +--- external/src/blosc/shuffle.cc.orig 2020-07-31 17:44:09 UTC ++++ external/src/blosc/shuffle.cc +@@ -158,6 +158,8 @@ __cpuidex(int32_t cpuInfo[4], int32_t function_id, int + /* Reads the content of an extended control register. + https://software.intel.com/en-us/articles/how-to-detect-new-instruction-support-in-the-4th-generation-intel-core-processor-family + */ ++ ++#if defined(__clang_major__) && __clang_major__ < 9 + static inline uint64_t + _xgetbv(uint32_t xcr) { + uint32_t eax, edx; +@@ -173,6 +175,7 @@ _xgetbv(uint32_t xcr) { + ); + return ((uint64_t)edx << 32) | eax; + } ++#endif + + #endif /* defined(_MSC_FULL_VER) */ + +@@ -385,4 +388,4 @@ unshuffle(const size_t bytesoftype, const size_t block + (host_implementation.unshuffle)(bytesoftype, blocksize, _src, _dest); + } + +-} +\ No newline at end of file ++}