iputils-20121221-crypto-build.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From 568e990d30fc7e9416e0a6f8c74ea5013921eaec Mon Sep 17 00:00:00 2001
  2. From: Arjan van de Ven <arjanvandeven@gmail.com>
  3. Date: Wed, 16 Jan 2013 03:12:15 +0900
  4. Subject: [PATCH [iputils]] ping6: Fix build command line argument with gnutls.
  5. The ping6 command can use either openssl or gnutls...
  6. and the Makefile has a bunch of setup for defining which of the two to use.
  7. Unfortunately, the final -D define on the commandline to enable gnutls
  8. inside the ping6.c file didn't actually make it onto the gcc
  9. commandline.
  10. This patch adds the $(DEF_CRYPTO) Makefile variable to fix this gap.
  11. Signed-off-by: Arjan van de Ven <arjanvandeven@gmail.com>
  12. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
  13. ---
  14. Makefile | 2 +-
  15. 1 file changed, 1 insertion(+), 1 deletion(-)
  16. diff --git a/Makefile b/Makefile
  17. index c62d9df..89249f5 100644
  18. --- a/Makefile
  19. +++ b/Makefile
  20. @@ -149,7 +149,7 @@ LIB_clockdiff = $(LIB_CAP)
  21. DEF_ping_common = $(DEF_CAP) $(DEF_IDN)
  22. DEF_ping = $(DEF_CAP) $(DEF_IDN) $(DEF_WITHOUT_IFADDRS)
  23. LIB_ping = $(LIB_CAP) $(LIB_IDN)
  24. -DEF_ping6 = $(DEF_CAP) $(DEF_IDN) $(DEF_WITHOUT_IFADDRS) $(DEF_ENABLE_PING6_RTHDR)
  25. +DEF_ping6 = $(DEF_CAP) $(DEF_IDN) $(DEF_WITHOUT_IFADDRS) $(DEF_ENABLE_PING6_RTHDR) $(DEF_CRYPTO)
  26. LIB_ping6 = $(LIB_CAP) $(LIB_IDN) $(LIB_RESOLV) $(LIB_CRYPTO)
  27. ping: ping_common.o
  28. --
  29. 1.8.0.2