From patchwork Sat Jan 27 22:50:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 866792 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-89716-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="jiBK7fyG"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zTWSB2Dftz9s9Y for ; Sun, 28 Jan 2018 09:59:38 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=UPQDIQY7PiUiwM/OG73YZU/D+uwqjxc JR3hBkwEQWC3doYcR8+y3NdAADVCwbQeoLkYQUgtJeis5+wje31enNKhaCcvub1e zrHTmMSuAf+YCork5pUX0iTVQ8u/hIALt3HUYhLFHEP8NHlFUGwYjv6TAfkqVUhv 26RNuq6wX2Mw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; s=default; bh=svCI2TQHfvksTYtz9BoYQqov5I8=; b=jiBK7 fyGRo7t9jRLlmh4sDsfTngCb/qNegCet91quhlEY4jNs4o8mNfVa17kTfPC7ocaX 8iBAMBUoP27s5ELqy15zdSJzlBV4qYAMZ81tngB2o2Kp3ULiVQduW3IM3P1ZkeyQ fbckxDLxLrVO4yCxiMDivhyCnsBJJKR99n7hAg= Received: (qmail 14367 invoked by alias); 27 Jan 2018 22:59:32 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 14342 invoked by uid 89); 27 Jan 2018 22:59:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy=2034 X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited 1/7] hurd: fix warning Date: Sat, 27 Jan 2018 23:50:56 +0100 Message-Id: <20180127225102.11373-2-samuel.thibault@ens-lyon.org> In-Reply-To: <20180127225102.11373-1-samuel.thibault@ens-lyon.org> References: <20180127225102.11373-1-samuel.thibault@ens-lyon.org> * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c. --- ChangeLog | 2 ++ sysdeps/mach/hurd/Makefile | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 88f6d93c12..4e1e4bf730 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19,6 +19,8 @@ timer_ptr2id to cast struct timer_node * to void *. * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass --disable-libcilkrts to gcc configure. + * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add + -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c. 2018-01-27 James Clarke diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile index f0d3373b64..492ace05eb 100644 --- a/sysdeps/mach/hurd/Makefile +++ b/sysdeps/mach/hurd/Makefile @@ -203,4 +203,8 @@ sysdep_headers += net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h \ net/route.h endif +ifeq ($(subdir),nis) +CFLAGS-ypclnt.c += -DUSE_BINDINGDIR=1 +endif + endif # in-Makerules