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