0008-contrib-gcrypt-work-around-a-libtool-limitation.patch 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. From 3e924c7dd19821d6b727c1938065063d4cb9c030 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
  3. Date: Sun, 7 Dec 2014 20:02:18 +0100
  4. Subject: [PATCH 08/13] contrib/gcrypt: work-around a libtool limitation
  5. ---
  6. contrib/src/gcrypt/rules.mak | 1 +
  7. .../gcrypt/work-around-libtool-limitation.patch | 25 ++++++++++++++++++++++
  8. 2 files changed, 26 insertions(+)
  9. create mode 100644 contrib/src/gcrypt/work-around-libtool-limitation.patch
  10. diff --git a/contrib/src/gcrypt/rules.mak b/contrib/src/gcrypt/rules.mak
  11. index 2fed2cd..0471522 100644
  12. --- a/contrib/src/gcrypt/rules.mak
  13. +++ b/contrib/src/gcrypt/rules.mak
  14. @@ -15,6 +15,7 @@ libgcrypt: libgcrypt-$(GCRYPT_VERSION).tar.bz2 .sum-gcrypt
  15. $(APPLY) $(SRC)/gcrypt/0001-Fix-assembly-division-check.patch
  16. $(APPLY) $(SRC)/gcrypt/disable-doc-compilation.patch
  17. $(APPLY) $(SRC)/gcrypt/disable-tests-compilation.patch
  18. + $(APPLY) $(SRC)/gcrypt/work-around-libtool-limitation.patch
  19. $(MOVE)
  20. DEPS_gcrypt = gpg-error
  21. diff --git a/contrib/src/gcrypt/work-around-libtool-limitation.patch b/contrib/src/gcrypt/work-around-libtool-limitation.patch
  22. new file mode 100644
  23. index 0000000..df97ffb
  24. --- /dev/null
  25. +++ b/contrib/src/gcrypt/work-around-libtool-limitation.patch
  26. @@ -0,0 +1,25 @@
  27. +diff -ru libgcrypt-broken/cipher/Makefile.am libgcrypt/cipher/Makefile.am
  28. +--- libgcrypt-broken/cipher/Makefile.am 2013-11-06 23:05:24.000000000 +0100
  29. ++++ libgcrypt/cipher/Makefile.am 2013-11-06 23:21:25.000000000 +0100
  30. +@@ -19,6 +19,8 @@
  31. +
  32. + # Process this file with automake to produce Makefile.in
  33. +
  34. ++LIBTOOL=@LIBTOOL@ --tag=CC
  35. ++
  36. + EXTRA_DIST = Manifest
  37. +
  38. + # Need to include ../src in addition to top_srcdir because gcrypt.h is
  39. +diff -ru libgcrypt-broken/mpi/Makefile.am libgcrypt/mpi/Makefile.am
  40. +--- libgcrypt-broken/mpi/Makefile.am 2013-11-06 23:05:24.000000000 +0100
  41. ++++ libgcrypt/mpi/Makefile.am 2013-11-06 23:22:04.000000000 +0100
  42. +@@ -23,6 +23,9 @@
  43. +
  44. + # Need to include ../src in addition to top_srcdir because gcrypt.h is
  45. + # a built header.
  46. ++
  47. ++LIBTOOL=@LIBTOOL@ --tag=CC
  48. ++
  49. + AM_CPPFLAGS = -I../src -I$(top_srcdir)/src
  50. + AM_CFLAGS = $(GPG_ERROR_CFLAGS)
  51. +
  52. --
  53. 2.8.1