From patchwork Thu Jul 23 06:38:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 499218 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id BB42D140D19 for ; Thu, 23 Jul 2015 16:38:39 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C7427A3A76; Thu, 23 Jul 2015 06:38:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vPpW_UvnkKml; Thu, 23 Jul 2015 06:38:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id B3A85A3A4D; Thu, 23 Jul 2015 06:38:36 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id BFB6F1C0FAE for ; Thu, 23 Jul 2015 06:38:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id BAD7B951A1 for ; Thu, 23 Jul 2015 06:38:34 +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 nP8u6yvkVoW7 for ; Thu, 23 Jul 2015 06:38:33 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mx02.posteo.de (mx02.posteo.de [89.146.194.165]) by hemlock.osuosl.org (Postfix) with ESMTPS id 7475295197 for ; Thu, 23 Jul 2015 06:38:33 +0000 (UTC) Received: from dovecot04.posteo.de (unknown [185.67.36.27]) by mx02.posteo.de (Postfix) with ESMTPS id F2BE125A3DE2 for ; Thu, 23 Jul 2015 08:38:30 +0200 (CEST) Received: from mail.posteo.de (localhost [127.0.0.1]) by dovecot04.posteo.de (Postfix) with ESMTPSA id 3mcPBG4hMszFpWF for ; Thu, 23 Jul 2015 08:38:30 +0200 (CEST) Received: from nzxt.fritz.box (nzxt.localdomain [192.168.178.46]) (Authenticated sender: joerg.krause@embedded.rocks) by embedded.rocks (Postfix) with ESMTPSA id 01D4A980987; Thu, 23 Jul 2015 08:38:29 +0200 (CEST) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Thu, 23 Jul 2015 08:38:26 +0200 Message-Id: <1437633506-3224-3-git-send-email-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.4.6 In-Reply-To: <1437633506-3224-1-git-send-email-joerg.krause@embedded.rocks> References: <1437633506-3224-1-git-send-email-joerg.krause@embedded.rocks> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 3/3] package/libtirpc: Do not build unsupported API files X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Version 0.3.2 re-enables some APIs for backward compatibility with glibc's SunRPC: - key_prot - netname - rtime Unfortunalty, this breaks building libtirpc with uClibc and musl: getpublickey.c:41:28: fatal error: rpcsvc/yp_prot.h: No such file or directory We disable those API files as at least yp_prot.h is also NIS related to support building libtirpc with these two libc's. Signed-off-by: Jörg Krause --- Changes v1 -> v2: - fixup 0007-Do-not-build-unsupported-API-files.patch into existing 0001-Disable-parts-of-TIRPC-requiring-NIS-support.patch as yp_prot.h is NIS related (suggested by Thomas Petazzoni) --- ...Disable-parts-of-TIRPC-requiring-NIS-support.patch | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/package/libtirpc/0001-Disable-parts-of-TIRPC-requiring-NIS-support.patch b/package/libtirpc/0001-Disable-parts-of-TIRPC-requiring-NIS-support.patch index 71d4420..ea30fb2 100644 --- a/package/libtirpc/0001-Disable-parts-of-TIRPC-requiring-NIS-support.patch +++ b/package/libtirpc/0001-Disable-parts-of-TIRPC-requiring-NIS-support.patch @@ -1,4 +1,4 @@ -From 583ad557faf86c5532e16dafff19bfdcc349752d Mon Sep 17 00:00:00 2001 +From cb2f393afdb444bf97a7327991f8f5a2c2f64082 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Krause?= Date: Mon, 20 Jul 2015 20:30:11 +0200 Subject: [PATCH 1/1] Disable parts of TIRPC requiring NIS support @@ -12,11 +12,11 @@ Signed-off-by: "Yann E. MORIN" [joerg.krause@embedded.rocks: update for 0.3.2] Signed-off-by: Jörg Krause --- - src/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + src/Makefile.am | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am -index 6cc567a..cf8a8ca 100644 +index 6cc567a..2b26a29 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -51,7 +51,7 @@ libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c cln @@ -28,6 +28,17 @@ index 6cc567a..cf8a8ca 100644 ## XDR libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c +@@ -68,8 +68,8 @@ if GSS + libtirpc_la_CFLAGS = -DHAVE_RPCSEC_GSS $(GSSAPI_CFLAGS) + endif + +-libtirpc_la_SOURCES += key_call.c key_prot_xdr.c getpublickey.c +-libtirpc_la_SOURCES += netname.c netnamer.c rtime.c ++#libtirpc_la_SOURCES += key_call.c key_prot_xdr.c getpublickey.c ++#libtirpc_la_SOURCES += netname.c netnamer.c rtime.c + + CLEANFILES = cscope.* *~ + DISTCLEANFILES = Makefile.in -- 2.4.6