summaryrefslogtreecommitdiff
path: root/emulators/bochs
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2005-12-03 03:17:14 +0000
committerben <ben@pkgsrc.org>2005-12-03 03:17:14 +0000
commit75219f332a1ef0bc60dfac20e8bec4c03c124cd1 (patch)
treef1e25448b9c53b6faecd993d8bb56dba0a2b0d27 /emulators/bochs
parent9470c06fdffe6a7d8d7892e787e50ae137b9209c (diff)
downloadpkgsrc-75219f332a1ef0bc60dfac20e8bec4c03c124cd1.tar.gz
Fix bochs-2.2.1 build on NetBSD by adding missed patch.
Diffstat (limited to 'emulators/bochs')
-rw-r--r--emulators/bochs/patches/patch-ae13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/bochs/patches/patch-ae b/emulators/bochs/patches/patch-ae
new file mode 100644
index 00000000000..230cc08d65a
--- /dev/null
+++ b/emulators/bochs/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.5 2005/12/03 03:17:14 ben Exp $
+
+--- iodev/eth_tuntap.cc.orig 2005-05-21 00:38:29.000000000 -0700
++++ iodev/eth_tuntap.cc
+@@ -58,7 +58,7 @@
+ #include <linux/if_tun.h>
+ #else
+ #include <net/if.h>
+-#ifndef __APPLE__
++#if !defined(__APPLE__) && !defined(__NetBSD__)
+ #include <net/if_tap.h>
+ #endif
+ #endif