0017-contrib-gcrypt-update-patches.patch 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. From df0ae416574fc7e036996b499948c7346d9cb471 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
  3. Date: Mon, 12 Sep 2016 17:03:37 +0200
  4. Subject: [PATCH 17/18] contrib/gcrypt: update patches
  5. ---
  6. contrib/src/gcrypt/fix-sha1-ssse3-for-clang.patch | 13 +++++++------
  7. contrib/src/gcrypt/work-around-libtool-limitation.patch | 16 ++++++++--------
  8. 2 files changed, 15 insertions(+), 14 deletions(-)
  9. diff --git a/contrib/src/gcrypt/fix-sha1-ssse3-for-clang.patch b/contrib/src/gcrypt/fix-sha1-ssse3-for-clang.patch
  10. index f1d3ccc..9d946ed 100644
  11. --- a/contrib/src/gcrypt/fix-sha1-ssse3-for-clang.patch
  12. +++ b/contrib/src/gcrypt/fix-sha1-ssse3-for-clang.patch
  13. @@ -1,16 +1,17 @@
  14. diff -ru libgcrypt/cipher/sha1-ssse3-amd64.S libgcrypt/cipher/sha1-ssse3-amd64.S
  15. ---- libgcrypt/cipher/sha1-ssse3-amd64.S 2014-08-21 14:50:39.000000000 +0200
  16. -+++ libgcrypt/cipher/sha1-ssse3-amd64.S 2015-10-03 22:40:21.000000000 +0200
  17. -@@ -217,10 +217,9 @@
  18. - * _gcry_sha1_transform_amd64_ssse3 (void *ctx, const unsigned char *data)
  19. +--- libgcrypt/cipher/sha1-ssse3-amd64.S 2016-03-23 12:59:34.000000000 +0100
  20. ++++ libgcrypt/cipher/sha1-ssse3-amd64.S 2016-09-12 15:16:55.000000000 +0200
  21. +@@ -227,10 +227,10 @@
  22. + * size_t nblks)
  23. */
  24. .text
  25. -.globl _gcry_sha1_transform_amd64_ssse3
  26. --.type _gcry_sha1_transform_amd64_ssse3,@function
  27. +-ELF(.type _gcry_sha1_transform_amd64_ssse3,@function)
  28. +.globl __gcry_sha1_transform_amd64_ssse3
  29. ++ELF(.type __gcry_sha1_transform_amd64_ssse3,@function)
  30. .align 16
  31. -_gcry_sha1_transform_amd64_ssse3:
  32. +__gcry_sha1_transform_amd64_ssse3:
  33. /* input:
  34. * %rdi: ctx, CTX
  35. - * %rsi: data (64 bytes)
  36. + * %rsi: data (64*nblks bytes)
  37. diff --git a/contrib/src/gcrypt/work-around-libtool-limitation.patch b/contrib/src/gcrypt/work-around-libtool-limitation.patch
  38. index df97ffb..957f268 100644
  39. --- a/contrib/src/gcrypt/work-around-libtool-limitation.patch
  40. +++ b/contrib/src/gcrypt/work-around-libtool-limitation.patch
  41. @@ -1,18 +1,18 @@
  42. -diff -ru libgcrypt-broken/cipher/Makefile.am libgcrypt/cipher/Makefile.am
  43. ---- libgcrypt-broken/cipher/Makefile.am 2013-11-06 23:05:24.000000000 +0100
  44. -+++ libgcrypt/cipher/Makefile.am 2013-11-06 23:21:25.000000000 +0100
  45. +diff -ru libgcrypt/cipher/Makefile.am libgcrypt/cipher/Makefile.am
  46. +--- libgcrypt/cipher/Makefile.am 2016-08-17 13:21:22.000000000 +0200
  47. ++++ libgcrypt/cipher/Makefile.am 2016-09-12 15:13:54.000000000 +0200
  48. @@ -19,6 +19,8 @@
  49. # Process this file with automake to produce Makefile.in
  50. +LIBTOOL=@LIBTOOL@ --tag=CC
  51. +
  52. - EXTRA_DIST = Manifest
  53. -
  54. # Need to include ../src in addition to top_srcdir because gcrypt.h is
  55. -diff -ru libgcrypt-broken/mpi/Makefile.am libgcrypt/mpi/Makefile.am
  56. ---- libgcrypt-broken/mpi/Makefile.am 2013-11-06 23:05:24.000000000 +0100
  57. -+++ libgcrypt/mpi/Makefile.am 2013-11-06 23:22:04.000000000 +0100
  58. + # a built header.
  59. + AM_CPPFLAGS = -I../src -I$(top_srcdir)/src
  60. +diff -ru libgcrypt/mpi/Makefile.am libgcrypt-fixed/mpi/Makefile.am
  61. +--- libgcrypt/mpi/Makefile.am 2016-03-23 12:59:34.000000000 +0100
  62. ++++ libgcrypt/mpi/Makefile.am 2016-09-12 15:13:28.000000000 +0200
  63. @@ -23,6 +23,9 @@
  64. # Need to include ../src in addition to top_srcdir because gcrypt.h is
  65. --
  66. 2.9.3