From owner-svn-ports-all@freebsd.org Wed Oct 4 08:01:10 2017 Return-Path: Delivered-To: svn-ports-all@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 DC3CEE31D8E; Wed, 4 Oct 2017 08:01:10 +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 A999F76760; Wed, 4 Oct 2017 08:01:10 +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 v94819qh008446; Wed, 4 Oct 2017 08:01:09 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v94819De008444; Wed, 4 Oct 2017 08:01:09 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201710040801.v94819De008444@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Wed, 4 Oct 2017 08:01:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r451186 - in head/x11/keybinder: . files X-SVN-Group: ports-head X-SVN-Commit-Author: bapt X-SVN-Commit-Paths: in head/x11/keybinder: . files X-SVN-Commit-Revision: 451186 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 08:01:11 -0000 Author: bapt Date: Wed Oct 4 08:01:09 2017 New Revision: 451186 URL: https://svnweb.freebsd.org/changeset/ports/451186 Log: Fix usage of autoconf's AC_TRY_COMPILE to avoid nested function Obtained from: OpenBSD Added: head/x11/keybinder/files/ head/x11/keybinder/files/patch-configure.ac (contents, props changed) Modified: head/x11/keybinder/Makefile Modified: head/x11/keybinder/Makefile ============================================================================== --- head/x11/keybinder/Makefile Wed Oct 4 07:56:03 2017 (r451185) +++ head/x11/keybinder/Makefile Wed Oct 4 08:01:09 2017 (r451186) @@ -2,6 +2,7 @@ PORTNAME= keybinder PORTVERSION= 0.3.1 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= x11 Added: head/x11/keybinder/files/patch-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/keybinder/files/patch-configure.ac Wed Oct 4 08:01:09 2017 (r451186) @@ -0,0 +1,11 @@ +--- configure.ac.orig 2015-11-06 15:08:46 UTC ++++ configure.ac +@@ -139,7 +139,7 @@ if test "x$enable_python" != "xno"; then + ac_save_cc="$CC" + CC="$CC -fno-strict-aliasing" + AC_CACHE_VAL(ac_cv_no_strict_aliasing_ok, +- AC_TRY_COMPILE([],[int main() { return 0; }], ++ AC_TRY_COMPILE([],[], + ac_cv_no_strict_aliasing_ok=yes, + ac_cv_no_strict_aliasing_ok=no)) + CC="$ac_save_cc"