summaryrefslogtreecommitdiff
path: root/net/nstx/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-02 21:05:43 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-02 21:05:43 +0000
commit7c59e211d69d71e3d57a66b0904c739bbd07659e (patch)
tree0065d22cd2cfdc620a91facc8dc137b9085ec04b /net/nstx/patches
parent004148c70e94f5ff51d3a24dc16d846b43b4181a (diff)
downloadpkgsrc-7c59e211d69d71e3d57a66b0904c739bbd07659e.tar.gz
DragonFly support.
Diffstat (limited to 'net/nstx/patches')
-rw-r--r--net/nstx/patches/patch-ab16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/nstx/patches/patch-ab b/net/nstx/patches/patch-ab
new file mode 100644
index 00000000000..65cccd97809
--- /dev/null
+++ b/net/nstx/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2005/12/02 21:05:43 joerg Exp $
+
+--- nstx_tuntap.c.orig 2005-11-26 14:51:37.000000000 +0000
++++ nstx_tuntap.c
+@@ -21,7 +21,11 @@
+ #include <linux/if_tun.h>
+ #define TUNDEV "/dev/net/tun"
+ #else
++# if defined(__DragonFly__)
++# include <net/tun/if_tun.h>
++# else
+ # include <net/if_tun.h>
++# endif
+ # if __FreeBSD_version < 500000
+ # define TUNDEV "/dev/tun2"
+ # else