From owner-svn-ports-head@freebsd.org Tue Oct 3 21:55:02 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 19D51E25A23; Tue, 3 Oct 2017 21:55:02 +0000 (UTC) (envelope-from bapt@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 8127A65933; Tue, 3 Oct 2017 21:55:01 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v93Lt0rM061126; Tue, 3 Oct 2017 21:55:00 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v93Lt04C061124; Tue, 3 Oct 2017 21:55:00 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201710032155.v93Lt04C061124@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Tue, 3 Oct 2017 21:55:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r451174 - in head/devel/argp-standalone: . files X-SVN-Group: ports-head X-SVN-Commit-Author: bapt X-SVN-Commit-Paths: in head/devel/argp-standalone: . files X-SVN-Commit-Revision: 451174 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: Tue, 03 Oct 2017 21:55:02 -0000 Author: bapt Date: Tue Oct 3 21:55:00 2017 New Revision: 451174 URL: https://svnweb.freebsd.org/changeset/ports/451174 Log: Fix configure with clang avoiding nested function The detection of those issues was made by openbsd people (ajacoutot and rnagy) See http://www.undeadly.org/cgi?action=article;sid=20170930133438 For this port our fix is slightly different than what they did, still the idea is the same Reported by: ajacoutot@openbsd, rnagy@openbsd Added: head/devel/argp-standalone/files/patch-acinclude.m4 (contents, props changed) Modified: head/devel/argp-standalone/Makefile Modified: head/devel/argp-standalone/Makefile ============================================================================== --- head/devel/argp-standalone/Makefile Tue Oct 3 21:26:57 2017 (r451173) +++ head/devel/argp-standalone/Makefile Tue Oct 3 21:55:00 2017 (r451174) @@ -3,7 +3,7 @@ PORTNAME= argp-standalone PORTVERSION= 1.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= http://www.lysator.liu.se/~nisse/misc/ \ LOCAL/sem Added: head/devel/argp-standalone/files/patch-acinclude.m4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/argp-standalone/files/patch-acinclude.m4 Tue Oct 3 21:55:00 2017 (r451174) @@ -0,0 +1,20 @@ +--- acinclude.m4.orig 2004-02-07 17:15:46 UTC ++++ acinclude.m4 +@@ -284,8 +284,6 @@ AC_DEFUN([LSH_GCC_ATTRIBUTES], + lsh_cv_c_attribute, + [ AC_TRY_COMPILE([ + #include +-], +-[ + static void foo(void) __attribute__ ((noreturn)); + + static void __attribute__ ((noreturn)) +@@ -293,6 +291,8 @@ foo(void) + { + exit(1); + } ++], ++[ + ], + lsh_cv_c_attribute=yes, + lsh_cv_c_attribute=no)])