From 484652cbd8d4a647f7833b2e032d0d37147e8424 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Fri, 28 Dec 2012 09:47:21 +0000 Subject: [PATCH] glib-networking: fix build failure with gnutls3 Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/glib-networking/glib-networking.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk index b1eec4d07c..e8d71e5480 100644 --- a/package/glib-networking/glib-networking.mk +++ b/package/glib-networking/glib-networking.mk @@ -25,4 +25,11 @@ else GLIB_NETWORKING_CONF_OPT += --without-gnutls endif +# gnutls 3.x+ doesn't use libgcrypt, it uses nettle/hogweed +define GLIB_NETWORKING_NO_LIBGCRYPT + $(SED) 's:#include ::' $(@D)/tls/gnutls/gtlsbackend-gnutls.c +endef + +GLIB_NETWORKING_POST_EXTRACT_HOOKS += GLIB_NETWORKING_NO_LIBGCRYPT + $(eval $(autotools-package)) -- 2.30.2