486ace2647
On DragonFly BSD, tun and tap headers are under net/tun/ and net/tap/ and not directly in net/. Due to this, tinc does not properly set up the tun devices in runtime. Bump PKGREVISION. ok@ wiz
25 lines
532 B
Text
25 lines
532 B
Text
$NetBSD: patch-ad,v 1.1 2011/02/13 00:20:24 rumko Exp $
|
|
|
|
DragonFly BSD support (see https://github.com/gsliepen/tinc/pull/1)
|
|
|
|
--- have.h.orig 2010-03-13 18:53:33 +0100
|
|
+++ have.h 2011-01-30 21:15:07 +0100
|
|
@@ -123,10 +123,18 @@
|
|
#include <net/if_tun.h>
|
|
#endif
|
|
|
|
+#ifdef HAVE_NET_TUN_IF_TUN_H
|
|
+#include <net/tun/if_tun.h>
|
|
+#endif
|
|
+
|
|
#ifdef HAVE_NET_IF_TAP_H
|
|
#include <net/if_tap.h>
|
|
#endif
|
|
|
|
+#ifdef HAVE_NET_TAP_IF_TAP_H
|
|
+#include <net/tap/if_tap.h>
|
|
+#endif
|
|
+
|
|
#ifdef HAVE_NETINET_IN_SYSTM_H
|
|
#include <netinet/in_systm.h>
|
|
#endif
|