tags 667996 + patch thanks Hi,
The attached patch fixes the problem for me on kfreebsd-i386, and I would assume the other non-Linux GNU arches as well. Thanks, Regards, -- Steven Chamberlain ste...@pyro.eu.org
Description: fix to build on non-Linux GNU systems Must enable _GNU_SOURCE to use asprintf; do this for GNU systems other than Linux (e.g. GNU/kFreeBSD, GNU/Hurd) Author: Steven Chamberlain <ste...@pyro.eu.org> Bug-Debian: http://bugs.debian.org/667996 --- openconnect-3.15.orig/configure.ac +++ openconnect-3.15/configure.ac @@ -53,7 +53,7 @@ fi AM_CONDITIONAL(USE_NLS, [test "$USE_NLS" = "yes"]) case $target_os in - *linux*) + *linux*|*-gnu*) AC_MSG_NOTICE([Applying feature macros for Linux build]) AC_DEFINE(_POSIX_C_SOURCE, 200112L) # For strcasecmp() --- openconnect-3.15.orig/configure +++ openconnect-3.15/configure @@ -11582,7 +11582,7 @@ fi case $target_os in - *linux*) + *linux*|*-gnu*) { $as_echo "$as_me:${as_lineno-$LINENO}: Applying feature macros for Linux build" >&5 $as_echo "$as_me: Applying feature macros for Linux build" >&6;} $as_echo "#define _POSIX_C_SOURCE 200112L" >>confdefs.h