mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
databases/rocksdb: Update to 6.27.3
Changes: https://github.com/facebook/rocksdb/releases
This commit is contained in:
parent
a3a0558191
commit
0c067bafa6
3 changed files with 8 additions and 32 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue