pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mariadb105-client mariadb105-client: Fix bui...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d04b792ba671
branches:  trunk
changeset: 455318:d04b792ba671
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Jul 03 09:23:45 2021 +0000

description:
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 3e167c7d6587 -r d04b792ba671 databases/mariadb105-client/distinfo
--- a/databases/mariadb105-client/distinfo      Fri Jul 02 22:49:39 2021 +0000
+++ b/databases/mariadb105-client/distinfo      Sat Jul 03 09:23:45 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2021/05/23 15:32:47 nia Exp $
+$NetBSD: distinfo,v 1.2 2021/07/03 09:23:45 nia 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 3e167c7d6587 -r d04b792ba671 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      Sat Jul 03 09:23:45 2021 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-mysys_crc32_crc32__arm64.c,v 1.1 2021/07/03 09:23:45 nia 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