svn commit: r451186 - in head/x11/keybinder: . files
Baptiste Daroussin
bapt at FreeBSD.org
Wed Oct 4 08:01:11 UTC 2017
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"
More information about the svn-ports-head
mailing list