From patchwork Fri Dec 28 19:47:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 208557 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id A173B2C009F for ; Sat, 29 Dec 2012 06:48:14 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 93484A0141; Fri, 28 Dec 2012 19:48:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z-EB1Fnrh3Pn; Fri, 28 Dec 2012 19:48:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id EB3E7A0132; Fri, 28 Dec 2012 19:48:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 9EB2E8F74B for ; Fri, 28 Dec 2012 19:48:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B24F4822C4 for ; Fri, 28 Dec 2012 19:47:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K7LxfHFTWLzR for ; Fri, 28 Dec 2012 19:47:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id CBAA882004 for ; Fri, 28 Dec 2012 19:47:54 +0000 (UTC) Received: from asgard (host204.190-231-107.telecom.net.ar [190.231.107.204]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.5/8.14.5) with ESMTP id qBSJlmd6010694 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 28 Dec 2012 19:47:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1356724072; bh=vZDpllxdsRJQsRBStK+m+ohloPkGyAhvuYm87BFJjU0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=IvukGCi5f1Jg9dPkc5z5Pig6g1nbO+nuyko/tlPQnbSEYla2SCZjr+QkccEpzQPce DXQ9SGKQGGDbhVN1Fh0t42zFpvSXLuYWiP4yCwquLxJUDexm9rtMHqVfiona5zz8Ht u35jFB7mX8qr/U4RwLL6w4skx0DWFQNHqFmiHBqM= Received: by asgard (sSMTP sendmail emulation); Fri, 28 Dec 2012 16:47:47 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Fri, 28 Dec 2012 16:47:21 -0300 Message-Id: <1356724043-8879-5-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.7.8.6 In-Reply-To: <1356724043-8879-1-git-send-email-gustavo@zacarias.com.ar> References: <1356724043-8879-1-git-send-email-gustavo@zacarias.com.ar> X-Virus-Scanned: clamav-milter 0.97.5 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH 5/7] glib-networking: fix build failure with gnutls3 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Gustavo Zacarias --- package/glib-networking/glib-networking.mk | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk index b1eec4d..e8d71e5 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))