On Sun, Apr 8, 2012 at 00:47:46 +0100, Steven Chamberlain wrote: > 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() Could just use AC_USE_SYSTEM_EXTENSIONS instead to avoid having to fiddle with those macros manually. Cheers, Julien
signature.asc
Description: Digital signature