summaryrefslogtreecommitdiff
path: root/graphics/hpoj/files/extra-patch-mlcd-ParPort.h
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2003-06-01 08:06:38 +0000
committerOliver Braun <obraun@FreeBSD.org>2003-06-01 08:06:38 +0000
commit30f60ee03e4f7eaf8e1a543cde18cffe75508535 (patch)
tree9ce1944a52793dda76249fc9c0ed65aa22fd29e1 /graphics/hpoj/files/extra-patch-mlcd-ParPort.h
parentUpdate to 1.6.4. (diff)
Use libio on alpha (-STABLE & -CURRENT).
PR: ports/52633 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=81874
Diffstat (limited to 'graphics/hpoj/files/extra-patch-mlcd-ParPort.h')
-rw-r--r--graphics/hpoj/files/extra-patch-mlcd-ParPort.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/hpoj/files/extra-patch-mlcd-ParPort.h b/graphics/hpoj/files/extra-patch-mlcd-ParPort.h
new file mode 100644
index 000000000000..ae352910e700
--- /dev/null
+++ b/graphics/hpoj/files/extra-patch-mlcd-ParPort.h
@@ -0,0 +1,14 @@
+--- mlcd/ParPort.h.orig Sat May 24 08:02:19 2003
++++ mlcd/ParPort.h Sat May 24 07:59:13 2003
+@@ -27,6 +27,11 @@
+
+ #define ERROR_NO_DATA ERROR /* TODO: Remove. */
+
++extern "C" {
++extern u_char inb (u_int port);
++extern void outb(u_int port, u_char data);
++}
++
+ class ParPort {
+ protected: // ATTRIB
+ int portType;