Source: openconnect
Version: 3.15-1
Severity: important
Tags: patch
User: [email protected]
Usertags: hurd, kfreebsd
Hello,
The inlined patch below solves the build problems for GNU/Hurd and GNU/kFreeBSD
by defining the _GNU_SOURCE macro also for these architectures.
Thanks!
--- openconnect-3.15/configure.ac.orig 2011-11-25 17:41:19.000000000 +0100
+++ openconnect-3.15/configure.ac 2012-04-10 16:21:38.000000000 +0200
@@ -66,6 +66,11 @@
AC_DEFINE(_POSIX_C_SOURCE, 200112L)
AC_DEFINE(_NETBSD_SOURCE)
;;
+ *k*bsd-gnu|gnu*)
+ AC_MSG_NOTICE([Applying feature macros for kFreeBSD and GNU builds])
+ # For asprintf()
+ AC_DEFINE(_GNU_SOURCE)
+ ;;
*)
# On FreeBSD the only way to get vsyslog() visible is to define
# *nothing*, which makes absolutely everything visible.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]