pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2021Q2]: pkgsrc/databases/mariadb105-client Pullup ticket #647...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dcc0fa900ff5
branches: pkgsrc-2021Q2
changeset: 455437:dcc0fa900ff5
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sun Jul 04 19:12:07 2021 +0000
description:
Pullup ticket #6477 - requested by nia
databases/mariadb105-client: NetBSD/aarch64 build fix
Revisions pulled up:
- databases/mariadb105-client/distinfo 1.2
- databases/mariadb105-client/patches/patch-mysys_crc32_crc32__arm64.c 1.1
---
Module Name: pkgsrc
Committed By: nia
Date: Sat Jul 3 09:23:45 UTC 2021
Modified Files:
pkgsrc/databases/mariadb105-client: distinfo
Added Files:
pkgsrc/databases/mariadb105-client/patches:
patch-mysys_crc32_crc32__arm64.c
Log Message:
mariadb105-client: Fix building on NetBSD/aarch64
diffstat:
databases/mariadb105-client/distinfo | 3 +-
databases/mariadb105-client/patches/patch-mysys_crc32_crc32__arm64.c | 31 ++++++++++
2 files changed, 33 insertions(+), 1 deletions(-)
diffs (52 lines):
diff -r dbf83f65c513 -r dcc0fa900ff5 databases/mariadb105-client/distinfo
--- a/databases/mariadb105-client/distinfo Sun Jul 04 19:07:42 2021 +0000
+++ b/databases/mariadb105-client/distinfo Sun Jul 04 19:12:07 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2021/05/23 15:32:47 nia Exp $
+$NetBSD: distinfo,v 1.1.2.1 2021/07/04 19:12:07 bsiegert Exp $
SHA1 (mariadb-10.5.10.tar.gz) = 7381ea990812be76b39688115f2cae40aa68b1d4
RMD160 (mariadb-10.5.10.tar.gz) = 243fa6266f93d4a01c377b95704a3923b62eadce
@@ -9,6 +9,7 @@
SHA1 (patch-client_CMakeLists.txt) = 8fdd8a182304f0b84e120ce95334ace23d02ce88
SHA1 (patch-extra_wolfssl_wolfssl_certs_intermediate_genintcerts.sh) = cd9a982889b88f811c3e14ebdf9795b0fa5d1fad
SHA1 (patch-include_my__global.h) = a3b831f91ba2efea9f78e70ab4f706da23b80403
+SHA1 (patch-mysys_crc32_crc32__arm64.c) = 0a479d4e9c6a186c631f3c0f99d15f633c8a484a
SHA1 (patch-mysys_my__context.c) = f9c7e6b3b68b857e7781cf5f36c49e88051cfb66
SHA1 (patch-mysys_my__largepage.c) = d04a7a60f9cc6d70f30e454130ea0b76d7d98b3e
SHA1 (patch-plugin_auth__pam_CMakeLists.txt) = 033f01c64014c0e61bc635d5fbe686f7a4b7f317
diff -r dbf83f65c513 -r dcc0fa900ff5 databases/mariadb105-client/patches/patch-mysys_crc32_crc32__arm64.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mariadb105-client/patches/patch-mysys_crc32_crc32__arm64.c Sun Jul 04 19:12:07 2021 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-mysys_crc32_crc32__arm64.c,v 1.1.2.2 2021/07/04 19:12:07 bsiegert Exp $
+
+Fix building on NetBSD/aarch64.
+
+--- mysys/crc32/crc32_arm64.c.orig 2021-05-05 21:00:19.000000000 +0000
++++ mysys/crc32/crc32_arm64.c
+@@ -2,13 +2,13 @@
+ #include <string.h>
+ #include <stdint.h>
+
++static int pmull_supported;
++
+ #if defined(HAVE_ARMV8_CRC)
+
+ #if defined(__APPLE__)
+ #include <sys/sysctl.h>
+
+-static int pmull_supported;
+-
+ int crc32_aarch64_available(void)
+ {
+ int ret;
+@@ -48,8 +48,6 @@ static unsigned long getauxval(unsigned
+ # define HWCAP_PMULL (1 << 4)
+ #endif
+
+-static int pmull_supported;
+-
+ /* ARM made crc32 default from ARMv8.1 but optional in ARMv8A
+ * Runtime check API.
+ */
Home |
Main Index |
Thread Index |
Old Index