diff options
author | roger <roger@FreeBSD.org> | 2003-02-26 04:46:55 +0800 |
---|---|---|
committer | roger <roger@FreeBSD.org> | 2003-02-26 04:46:55 +0800 |
commit | 0571ec17807751138c6b34cb75ca295dec9b692f (patch) | |
tree | 60fd0c01d2776f55d19b39117536e2f67a9c7dce | |
parent | 002b8daa1129bea3d3930141e99672be9ffb376a (diff) | |
download | freebsd-ports-gnome-0571ec17807751138c6b34cb75ca295dec9b692f.tar.gz freebsd-ports-gnome-0571ec17807751138c6b34cb75ca295dec9b692f.tar.zst freebsd-ports-gnome-0571ec17807751138c6b34cb75ca295dec9b692f.zip |
Enable building of all hardware drivers and fix a bug with outb.
My HD44780 based 16x2 display (in 4 bit mode) now works.
-rw-r--r-- | sysutils/lcdproc/Makefile | 3 | ||||
-rw-r--r-- | sysutils/lcdproc/files/patch-port | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/sysutils/lcdproc/Makefile b/sysutils/lcdproc/Makefile index f9db04e3c146..856bd89135db 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 000000000000..d4f034a0ff11 --- /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 |