summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/nxtvepg/patches/patch-af19
1 files changed, 19 insertions, 0 deletions
diff --git a/misc/nxtvepg/patches/patch-af b/misc/nxtvepg/patches/patch-af
new file mode 100644
index 00000000000..6e1c131491a
--- /dev/null
+++ b/misc/nxtvepg/patches/patch-af
@@ -0,0 +1,19 @@
+$NetBSD: patch-af,v 1.6 2004/11/27 14:19:16 magick Exp $
+
+--- tvsim/tvsim_main.c.orig 2004-08-15 21:07:25.000000000 +0200
++++ tvsim/tvsim_main.c
+@@ -64,9 +64,13 @@
+ #include "tvsim/tvsim_version.h"
+
+ #if defined(__FreeBSD__) || defined(__NetBSD__)
++#if defined(__FreeBSD__)
+ #include <machine/ioctl_bt848.h>
+ #endif
+-
++#if defined(__NetBSD__)
++#include <dev/ic/bt8xx.h>
++#endif
++#endif
+ // prior to 8.4 there's a SEGV when evaluating const scripts (Tcl tries to modify the string)
+ #if (TCL_MAJOR_VERSION > 8) || ((TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 4))
+ # define TCL_EVAL_CONST(INTERP, SCRIPT) Tcl_EvalEx(INTERP, SCRIPT, -1, TCL_EVAL_GLOBAL)