Date: Wed, 4 Oct 2017 08:01:09 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r451186 - in head/x11/keybinder: . files Message-ID: <201710040801.v94819De008444@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710040801.v94819De008444>