svn commit: r450071 - head/ftp/lftp/files
Ganael LAPLANCHE
martymac at FreeBSD.org
Mon Sep 18 19:04:32 UTC 2017
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. */
More information about the svn-ports-head
mailing list