diff options
author | martin <martin@pkgsrc.org> | 2019-01-09 13:41:41 +0000 |
---|---|---|
committer | martin <martin@pkgsrc.org> | 2019-01-09 13:41:41 +0000 |
commit | 5f9152ac974df0101cf530acd5c8d41b4449f996 (patch) | |
tree | bb3ca1ef27a66c21add17f54962b62feea84f3fc /security | |
parent | 3ef14ae87e65ff674f86fa3fdc8e0a798d9c986f (diff) | |
download | pkgsrc-5f9152ac974df0101cf530acd5c8d41b4449f996.tar.gz |
Make this buildable on aarch64.
Diffstat (limited to 'security')
-rw-r--r-- | security/libgcrypt/distinfo | 3 | ||||
-rw-r--r-- | security/libgcrypt/patches/patch-cipher_camellia-aarch64.S | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/security/libgcrypt/distinfo b/security/libgcrypt/distinfo index 6db99675fd7..b9e054d866a 100644 --- a/security/libgcrypt/distinfo +++ b/security/libgcrypt/distinfo @@ -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 --git a/security/libgcrypt/patches/patch-cipher_camellia-aarch64.S b/security/libgcrypt/patches/patch-cipher_camellia-aarch64.S new file mode 100644 index 00000000000..62daf441076 --- /dev/null +++ b/security/libgcrypt/patches/patch-cipher_camellia-aarch64.S @@ -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: |