From owner-svn-ports-head@freebsd.org Mon Sep 18 19:04:32 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 39BD1E26814; Mon, 18 Sep 2017 19:04:32 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0896576F1C; Mon, 18 Sep 2017 19:04:31 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8IJ4Vq7004469; Mon, 18 Sep 2017 19:04:31 GMT (envelope-from martymac@FreeBSD.org) Received: (from martymac@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8IJ4VjA004468; Mon, 18 Sep 2017 19:04:31 GMT (envelope-from martymac@FreeBSD.org) Message-Id: <201709181904.v8IJ4VjA004468@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: martymac set sender to martymac@FreeBSD.org using -f From: Ganael LAPLANCHE Date: Mon, 18 Sep 2017 19:04:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r450071 - head/ftp/lftp/files X-SVN-Group: ports-head X-SVN-Commit-Author: martymac X-SVN-Commit-Paths: head/ftp/lftp/files X-SVN-Commit-Revision: 450071 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 19:04:32 -0000 Author: martymac Date: Mon Sep 18 19:04:31 2017 New Revision: 450071 URL: https://svnweb.freebsd.org/changeset/ports/450071 Log: Fix build on 11.0 Reported by: mat Added: head/ftp/lftp/files/patch-lib-cdefs.h (contents, props changed) Added: head/ftp/lftp/files/patch-lib-cdefs.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ftp/lftp/files/patch-lib-cdefs.h Mon Sep 18 19:04:31 2017 (r450071) @@ -0,0 +1,18 @@ +Fix build on FreeBSD 11.0 + +--- lib/cdefs.h.orig 2017-09-12 16:13:24.000000000 +0200 ++++ lib/cdefs.h 2017-09-18 20:44:45.506018000 +0200 +@@ -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. */