svn commit: r500395 - in head/security/tinc-devel: . files

Dirk Meyer dinoex at FreeBSD.org
Mon Apr 29 08:03:48 UTC 2019


Author: dinoex
Date: Mon Apr 29 08:03:46 2019
New Revision: 500395
URL: https://svnweb.freebsd.org/changeset/ports/500395

Log:
  - fix __nonnull__ attribute
  PR:		237602
  Submitted by:	pe82.de

Added:
  head/security/tinc-devel/files/patch-configure   (contents, props changed)
Modified:
  head/security/tinc-devel/Makefile

Modified: head/security/tinc-devel/Makefile
==============================================================================
--- head/security/tinc-devel/Makefile	Mon Apr 29 07:50:31 2019	(r500394)
+++ head/security/tinc-devel/Makefile	Mon Apr 29 08:03:46 2019	(r500395)
@@ -2,7 +2,7 @@
 
 PORTNAME=	tinc
 PORTVERSION=	1.1pre17
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	security
 MASTER_SITES=	https://www.tinc-vpn.org/packages/ \
 		http://www.tinc-vpn.org/packages/

Added: head/security/tinc-devel/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/tinc-devel/files/patch-configure	Mon Apr 29 08:03:46 2019	(r500395)
@@ -0,0 +1,35 @@
+--- configure.orig	2019-04-27 11:57:13 UTC
++++ configure
+@@ -6192,8 +6192,8 @@ else
+     CFLAGS="$CFLAGS -Wall -Werror"
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+-void *test(void) __attribute__ ((__malloc__));
+-	 void *test(void) { return (void *)0; }
++void *test(void *x) __attribute__ ((__malloc__));
++	 void *test(void *x) { return (void *)0; }
+ 
+ _ACEOF
+ if ac_fn_c_try_compile "$LINENO"; then :
+@@ -6226,8 +6226,8 @@ else
+     CFLAGS="$CFLAGS -Wall -Werror"
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+-void *test(void) __attribute__ ((__nonnull__));
+-	 void *test(void) { return (void *)0; }
++void *test(void *x) __attribute__ ((__nonnull__));
++	 void *test(void *x) { return (void *)0; }
+ 
+ _ACEOF
+ if ac_fn_c_try_compile "$LINENO"; then :
+@@ -6260,8 +6260,8 @@ else
+     CFLAGS="$CFLAGS -Wall -Werror"
+     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+-void *test(void) __attribute__ ((__warn_unused_result__));
+-	 void *test(void) { return (void *)0; }
++void *test(void *x) __attribute__ ((__warn_unused_result__));
++	 void *test(void *x) { return (void *)0; }
+ 
+ _ACEOF
+ if ac_fn_c_try_compile "$LINENO"; then :


More information about the svn-ports-all mailing list