summaryrefslogtreecommitdiffstats
path: root/sysutils/lcdproc
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2003-02-25 20:46:55 +0000
committerroger <roger@FreeBSD.org>2003-02-25 20:46:55 +0000
commit0571ec17807751138c6b34cb75ca295dec9b692f (patch)
tree60fd0c01d2776f55d19b39117536e2f67a9c7dce /sysutils/lcdproc
parent002b8daa1129bea3d3930141e99672be9ffb376a (diff)
downloadFreeBSD-ports-0571ec17807751138c6b34cb75ca295dec9b692f.zip
FreeBSD-ports-0571ec17807751138c6b34cb75ca295dec9b692f.tar.gz
Enable building of all hardware drivers and fix a bug with outb.
My HD44780 based 16x2 display (in 4 bit mode) now works.
Diffstat (limited to 'sysutils/lcdproc')
-rw-r--r--sysutils/lcdproc/Makefile3
-rw-r--r--sysutils/lcdproc/files/patch-port19
2 files changed, 21 insertions, 1 deletions
diff --git a/sysutils/lcdproc/Makefile b/sysutils/lcdproc/Makefile
index f9db04e..856bd89 100644
--- a/sysutils/lcdproc/Makefile
+++ b/sysutils/lcdproc/Makefile
@@ -7,7 +7,7 @@
PORTNAME= lcdproc
PORTVERSION= 0.4.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://lcdproc.omnipotent.net/download/ \
${MASTER_SITE_SOURCEFORGE}
@@ -18,6 +18,7 @@ COMMENT= A client/server suite for all kinds of nifty LCD devices
ONLY_FOR_ARCHS= i386
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-drivers=all
MAN1= lcdproc.1
MAN8= LCDd.8
diff --git a/sysutils/lcdproc/files/patch-port b/sysutils/lcdproc/files/patch-port
new file mode 100644
index 0000000..d4f034a
--- /dev/null
+++ b/sysutils/lcdproc/files/patch-port
@@ -0,0 +1,19 @@
+*** server/drivers/port.h.orig Tue Feb 25 20:34:39 2003
+--- server/drivers/port.h Tue Feb 25 20:34:56 2003
+*************** static inline int port_in (unsigned shor
+*** 141,147 ****
+
+ // Write a byte 'val' to port
+ static inline void port_out (unsigned short int port, unsigned char val) {
+! outb(val,port);
+ }
+
+ // Get access to a specific port
+--- 141,147 ----
+
+ // Write a byte 'val' to port
+ static inline void port_out (unsigned short int port, unsigned char val) {
+! outb(port,val);
+ }
+
+ // Get access to a specific port
OpenPOWER on IntegriCloud