ports/net/hanstunnel/files/patch-src_tun__dev__freebsd.c
Jan Beich d4b48afd79 net/hanstunnel: update to 0.4.4 [1] and improve
- Revert r326014 as nothing to substitute in pkg-message [1]
- Clarify server works only on Linux [1]
- Unbreak build on DragonFly [2]
- Drop poorly maintained CLANG option [3]
- Simplify patching via MAKE_ARGS
- Respect LOCALBASE != PREFIX
- Pet portlint (makepatch)
- Clarify LICENSE

PR:		195313
Reported by:	DPorts [2]
Requested by:	many [3]
Submitted by:	vsityz@gmail.com (maintainer [1], based on)
Reviewed by:	marino [2]
Approved by:	maintainer timeout (~3 weeks)
2015-05-13 16:14:46 +00:00

14 lines
282 B
C

--- src/tun_dev_freebsd.c.orig 2014-02-07 03:36:31 UTC
+++ src/tun_dev_freebsd.c
@@ -31,7 +31,11 @@
#include <errno.h>
#include <sys/ioctl.h>
+#ifdef __DragonFly__
+#include <net/tun/if_tun.h>
+#else
#include <net/if_tun.h>
+#endif
/* #include "vtun.h"
#include "lib.h" */