Date: Sun, 23 Jan 2022 19:26:23 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 0c067bafa6b6 - main - databases/rocksdb: Update to 6.27.3 Message-ID: <202201231926.20NJQNrK013210@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=0c067bafa6b6e8e9ba44fb7fa5e3c40e11a3b3c5 commit 0c067bafa6b6e8e9ba44fb7fa5e3c40e11a3b3c5 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-01-23 18:17:30 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-01-23 18:17:30 +0000 databases/rocksdb: Update to 6.27.3 Changes: https://github.com/facebook/rocksdb/releases --- databases/rocksdb/Makefile | 2 +- databases/rocksdb/distinfo | 6 +++--- databases/rocksdb/files/patch-powerpc64 | 32 ++++---------------------------- 3 files changed, 8 insertions(+), 32 deletions(-) diff --git a/databases/rocksdb/Makefile b/databases/rocksdb/Makefile index e853dafdf2d6..c2d31f1b5d08 100644 --- a/databases/rocksdb/Makefile +++ b/databases/rocksdb/Makefile @@ -1,7 +1,7 @@ # Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> PORTNAME= rocksdb -PORTVERSION= 6.26.1 +PORTVERSION= 6.27.3 DISTVERSIONPREFIX= v CATEGORIES= databases diff --git a/databases/rocksdb/distinfo b/databases/rocksdb/distinfo index cc64c40d3664..54f529f3cded 100644 --- a/databases/rocksdb/distinfo +++ b/databases/rocksdb/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1638556472 -SHA256 (facebook-rocksdb-v6.26.1_GH0.tar.gz) = 5aeb94677bdd4ead46eb4cefc3dbb5943141fb3ce0ba627cfd8cbabeed6475e7 -SIZE (facebook-rocksdb-v6.26.1_GH0.tar.gz) = 9383500 +TIMESTAMP = 1642102129 +SHA256 (facebook-rocksdb-v6.27.3_GH0.tar.gz) = ee29901749b9132692b26f0a6c1d693f47d1a9ed8e3771e60556afe80282bf58 +SIZE (facebook-rocksdb-v6.27.3_GH0.tar.gz) = 9434489 diff --git a/databases/rocksdb/files/patch-powerpc64 b/databases/rocksdb/files/patch-powerpc64 index 16673cc4ae42..1cebaf2dbac2 100644 --- a/databases/rocksdb/files/patch-powerpc64 +++ b/databases/rocksdb/files/patch-powerpc64 @@ -1,28 +1,4 @@ ---- util/crc32c.cc.orig 2021-06-25 21:15:04 UTC -+++ util/crc32c.cc -@@ -488,6 +488,21 @@ static int arch_ppc_probe(void) { - - return arch_ppc_crc32; - } -+#elif __FreeBSD__ -+#include <machine/cpu.h> -+#include <sys/auxv.h> -+#include <sys/elf_common.h> -+static int arch_ppc_probe(void) { -+ unsigned long cpufeatures; -+ arch_ppc_crc32 = 0; -+ -+#if defined(__powerpc64__) -+ elf_aux_info(AT_HWCAP2, &cpufeatures, sizeof(cpufeatures)); -+ if (cpufeatures & PPC_FEATURE2_HAS_VEC_CRYPTO) arch_ppc_crc32 = 1; -+#endif /* __powerpc64__ */ -+ -+ return arch_ppc_crc32; -+} - #endif // __linux__ - - static bool isAltiVec() { ---- utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h.orig 2021-10-17 17:02:20 UTC +--- utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h.orig 2021-12-10 22:56:20 UTC +++ utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h @@ -58,7 +58,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliate #include <stdint.h> @@ -44,6 +20,6 @@ + asm volatile("mfspr %0, 268" : "=r"(tbr)); + return tbr; +#endif - #else - #error No timer implementation for this platform - #endif + #elif defined(__s390x__) + uint64_t result; + asm volatile("stckf %0" : "=Q"(result) : : "cc");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201231926.20NJQNrK013210>