From edb56d4c62ae865be24e1fb81c7657d42a27c355 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Mon, 17 Jan 2022 08:33:17 +0100 Subject: databases/clickhouse: Update to 21.12.3.32 Changes: https://github.com/ClickHouse/ClickHouse/compare/v21.7.4.18-stable...v21.12.3.32-stable Reported by: maintainer --- .../patch-contrib_rocksdb_util_crc32c__arm64.cc | 45 ---------------------- 1 file changed, 45 deletions(-) delete mode 100644 databases/clickhouse/files/patch-contrib_rocksdb_util_crc32c__arm64.cc (limited to 'databases/clickhouse/files/patch-contrib_rocksdb_util_crc32c__arm64.cc') diff --git a/databases/clickhouse/files/patch-contrib_rocksdb_util_crc32c__arm64.cc b/databases/clickhouse/files/patch-contrib_rocksdb_util_crc32c__arm64.cc deleted file mode 100644 index 1b37e82527ef..000000000000 --- a/databases/clickhouse/files/patch-contrib_rocksdb_util_crc32c__arm64.cc +++ /dev/null @@ -1,45 +0,0 @@ ---- contrib/rocksdb/util/crc32c_arm64.cc.orig 2021-05-13 00:21:57.000000000 +0200 -+++ contrib/rocksdb/util/crc32c_arm64.cc 2000-01-01 02:32:56.500264000 +0100 -@@ -5,9 +5,11 @@ - - #include "util/crc32c_arm64.h" - --#if defined(__linux__) && defined(HAVE_ARM64_CRC) -+#if (defined(__FreeBSD__) || defined(__linux__)) && defined(HAVE_ARM64_CRC) - -+#if defined(__linux__) - #include -+#endif // linux - #ifdef ROCKSDB_AUXV_GETAUXVAL_PRESENT - #include - #endif -@@ -42,7 +44,14 @@ extern bool pmull_runtime_flag; - - uint32_t crc32c_runtime_check(void) { - #ifdef ROCKSDB_AUXV_GETAUXVAL_PRESENT -+#if defined(__FreeBSD__) -+ uint64_t auxv; -+ int result = elf_aux_info(AT_HWCAP, &auxv, sizeof auxv); -+ if (result != 0) -+ return 0; -+#else - uint64_t auxv = getauxval(AT_HWCAP); -+#endif - return (auxv & HWCAP_CRC32) != 0; - #else - return 0; -@@ -51,7 +60,14 @@ uint32_t crc32c_runtime_check(void) { - - bool crc32c_pmull_runtime_check(void) { - #ifdef ROCKSDB_AUXV_GETAUXVAL_PRESENT -+#if defined(__FreeBSD__) -+ uint64_t auxv; -+ int result = elf_aux_info(AT_HWCAP, &auxv, sizeof auxv); -+ if (result != 0) -+ return 0; -+#else - uint64_t auxv = getauxval(AT_HWCAP); -+#endif - return (auxv & HWCAP_PMULL) != 0; - #else - return false; -- cgit v1.2.3