Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2019 08:03:46 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500395 - in head/security/tinc-devel: . files
Message-ID:  <201904290803.x3T83kiw014232@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 :



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904290803.x3T83kiw014232>