pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/libgcrypt Make this buildable on aarch64.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a4f637aa365
branches:  trunk
changeset: 317561:3a4f637aa365
user:      martin <martin%pkgsrc.org@localhost>
date:      Wed Jan 09 13:41:41 2019 +0000

description:
Make this buildable on aarch64.

diffstat:

 security/libgcrypt/distinfo                                |   3 +-
 security/libgcrypt/patches/patch-cipher_camellia-aarch64.S |  16 ++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r d30c5abf36aa -r 3a4f637aa365 security/libgcrypt/distinfo
--- a/security/libgcrypt/distinfo       Wed Jan 09 13:41:02 2019 +0000
+++ b/security/libgcrypt/distinfo       Wed Jan 09 13:41:41 2019 +0000
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.79 2018/11/02 23:08:29 adam Exp $
+$NetBSD: distinfo,v 1.80 2019/01/09 13:41:41 martin Exp $
 
 SHA1 (libgcrypt-1.8.4.tar.bz2) = 4a8ef9db6922f3a31992aca5640b4198a69b58fc
 RMD160 (libgcrypt-1.8.4.tar.bz2) = 57a23952989b6a852d0654218206876c4a878087
 SHA512 (libgcrypt-1.8.4.tar.bz2) = b831fc337eb14806897e224b0d1e78d1f8e9db91dffa818a015a4aa104144e2d971e5a855904907ee2bb9990a9d526de32d6787e1cae98e28a65c3258b2b1ea1
 Size (libgcrypt-1.8.4.tar.bz2) = 2990108 bytes
 SHA1 (patch-aa) = 60b3f4453b217ed8879a2ffd8d485c0195ffb5f8
+SHA1 (patch-cipher_camellia-aarch64.S) = 0acc16a62d7156fdf5823a328edf91464185fc15
 SHA1 (patch-cipher_rijndael-arm.S) = ef3cb7f481022440780eb48ae31cbfad0a3ec115
 SHA1 (patch-random_jitterentropy-base.c) = 5a14676aae7ad5d12f9f0bed366af5183aaf22ad
 SHA1 (patch-src_visibility.h) = 8cbbf6803ab34b4b7dda832aa8ee18247aa89518
diff -r d30c5abf36aa -r 3a4f637aa365 security/libgcrypt/patches/patch-cipher_camellia-aarch64.S
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/libgcrypt/patches/patch-cipher_camellia-aarch64.S        Wed Jan 09 13:41:41 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-cipher_camellia-aarch64.S,v 1.1 2019/01/09 13:41:41 martin Exp $
+
+Do not make _gcry_camellia_arm_tables to allow the assembler to resolve
+the symbol locally (avoids relocations that break the build).
+
+--- cipher/camellia-aarch64.S.orig     2017-11-23 19:16:58.000000000 +0100
++++ cipher/camellia-aarch64.S  2019-01-09 14:27:16.928019986 +0100
+@@ -284,7 +284,7 @@
+ .size _gcry_camellia_arm_decrypt_block,.-_gcry_camellia_arm_decrypt_block;
+ 
+ /* Encryption/Decryption tables */
+-.globl _gcry_camellia_arm_tables
++#  .globl _gcry_camellia_arm_tables
+ .type  _gcry_camellia_arm_tables,@object;
+ .balign 32
+ _gcry_camellia_arm_tables:



Home | Main Index | Thread Index | Old Index