summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authormagick <magick>2004-11-27 14:19:16 +0000
committermagick <magick>2004-11-27 14:19:16 +0000
commit7d5156d5bb6273a3411cb287a3c0ee2f2dc5655c (patch)
tree5c7688a40f51a85ece35e6f1655386c91b2bcbe4 /misc
parent8200a44e749b67099d8b166e27b4d8ed43972a61 (diff)
downloadpkgsrc-7d5156d5bb6273a3411cb287a3c0ee2f2dc5655c.tar.gz
add missing patch
Diffstat (limited to 'misc')
-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)