[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#815283: openvpn: FTBFS on kfreebsd: implicit declaration of function 'create_arbitrary_remote'



tags 815283 + patch
user debian-bsd@lists.debian.org
usertags 815283 + kfreebsd
thanks

Hi,

Andreas Beckmann wrote:
> /«PKGBUILDDIR»/src/openvpn/tun.c:1141: undefined reference to `create_arbitrary_remote'

This is super-easy to fix.  Please append the attached to
kfreebsd_support.patch

Thanks!
Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org
--- a/src/openvpn/tun.c
+++ b/src/openvpn/tun.c
@@ -625,7 +625,7 @@
 }
 #endif
 
-#if defined(TARGET_FREEBSD)||defined(TARGET_DRAGONFLY)
+#if defined(TARGET_FREEBSD)||defined(__FreeBSD_kernel__)||defined(TARGET_DRAGONFLY)
 /* we can't use true subnet mode on tun on all platforms, as that
  * conflicts with IPv6 (wants to use ND then, which we don't do),
  * but the OSes want "a remote address that is different from ours"

Attachment: signature.asc
Description: Digital signature


Reply to: