From owner-svn-ports-head@freebsd.org Mon Sep 18 17:31:10 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C3F7E20A1A; Mon, 18 Sep 2017 17:31:10 +0000 (UTC) (envelope-from ehaupt@critical.ch) Received: from critical.ch (critical.ch [IPv6:2a01:4f8:c17:de4::1:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "critical.ch", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A81C72B35; Mon, 18 Sep 2017 17:31:09 +0000 (UTC) (envelope-from ehaupt@critical.ch) Received: from beaver.home.critical.ch (77-56-54-154.dclient.hispeed.ch [77.56.54.154]) (authenticated bits=0) by critical.ch (8.15.2/8.15.2/critical-1.0) with ESMTPA id v8IHV3tm001614; Mon, 18 Sep 2017 19:31:05 +0200 (CEST) (envelope-from ehaupt@critical.ch) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=critical.ch; s=critical; t=1505755866; bh=35+Iu5/7/PCVJYkx9S+F0/ooEps+R+euQbfbIZjXP+s=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=0y+wDbc8b7D+iYOIirNrit8dcOjL3vBuq+FnOJfWa+eOvoTVQcXJQEqvVm9fkiKGK 3alfWe8K5THX4CFlaSKErmtspDBRE97L4tkJXhpYeYeErlxD7aaeYe4DVlx+ILoLpo IS4FowL6gadLH0BuKP4kJE/aN6eqB0i2k7wZFIdQ= Date: Mon, 18 Sep 2017 19:30:57 +0200 From: Emanuel Haupt To: Ganael Laplanche Cc: Mathieu Arnold , Ganael LAPLANCHE , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r449897 - in head/ftp/lftp: . files Message-Id: <20170918193057.2ce60958614686e4c05b7ba4@critical.ch> In-Reply-To: <3519270.nZQMiuLpb8@home.martymac.org> References: <201709151007.v8FA706V098815@repo.freebsd.org> <0f14dac3-b02c-7cc1-0250-368a97d259b0@FreeBSD.org> <3519270.nZQMiuLpb8@home.martymac.org> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2017 17:31:10 -0000 Ganael Laplanche wrote: > On Monday 18 September 2017 14:45:58 Mathieu Arnold wrote: > > Hi Mathieu, > > > After this, I have build failures: > > > > In file included from ./signal.h:52: > > /usr/include/signal.h:85:38: error: expected ')' > > int sigpending(sigset_t *) __nonnull(1); > > ^ > > /usr/include/signal.h:87:44: error: expected ')' > > int sigsuspend(const sigset_t *) __nonnull(1); > > ^ > > 2 errors generated. > > Yes, those errors are related to the introduction of __nonnull() > attributes in 11.0 (then removed in 11.1, see r311234). Build > currently fails on 11.0 (only). > > I still have to find a proper fix for those errors (any hint > appreciated here :p). Patch: --- lib/cdefs.h.orig 2017-09-12 14:13:24 UTC +++ lib/cdefs.h @@ -282,13 +282,7 @@ # define __attribute_format_strfmon__(a,b) /* Ignore */ #endif -/* The nonull function attribute allows to mark pointer parameters which - must not be NULL. */ -#if __GNUC_PREREQ (3,3) -# define __nonnull(params) __attribute__ ((__nonnull__ params)) -#else # define __nonnull(params) -#endif /* If fortification mode, we warn about unused results of certain function calls which can lead to problems. */