summaryrefslogtreecommitdiff
path: root/net/ns/patches
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-09-08 17:20:17 +0000
committerminskim <minskim@pkgsrc.org>2005-09-08 17:20:17 +0000
commite59720c00e223941878f76e8084a38d92de82061 (patch)
tree7027ea8001bbd8bcdb441d1bbd13eb6f9f97f098 /net/ns/patches
parentad601444a6e091435e7ca7f6cc170493a97e83af (diff)
downloadpkgsrc-e59720c00e223941878f76e8084a38d92de82061.tar.gz
Define BIOCIMMEDIATE for Darwin. Patch from darwinports.
Diffstat (limited to 'net/ns/patches')
-rw-r--r--net/ns/patches/patch-aq15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/ns/patches/patch-aq b/net/ns/patches/patch-aq
new file mode 100644
index 00000000000..e01e8675727
--- /dev/null
+++ b/net/ns/patches/patch-aq
@@ -0,0 +1,15 @@
+$NetBSD: patch-aq,v 1.1 2005/09/08 17:20:17 minskim Exp $
+
+--- emulate/net-pcap.cc.orig 2005-01-25 14:38:47.000000000 -0800
++++ emulate/net-pcap.cc
+@@ -63,6 +63,10 @@ extern "C" {
+ #include <pcap.h>
+ #endif
+
++#ifndef BIOCIMMEDIATE
++#define BIOCIMMEDIATE _IOW('B',112, u_int)
++#endif
++
+ #include "config.h"
+ #include "scheduler.h"
+ #include "net.h"