diff options
author | Roger Hardiman <roger@FreeBSD.org> | 2003-02-25 20:46:55 +0000 |
---|---|---|
committer | Roger Hardiman <roger@FreeBSD.org> | 2003-02-25 20:46:55 +0000 |
commit | 97ac63c075fb535ce99809a37f1401d5253a093c (patch) | |
tree | 679e941b7aa77d80c060d3f15a4d4a3dab0a0299 /sysutils/lcdproc | |
parent | 40ebd7b6757ad79b87c20693f3017d5ef601c07e (diff) | |
download | ports-97ac63c075fb535ce99809a37f1401d5253a093c.tar.gz ports-97ac63c075fb535ce99809a37f1401d5253a093c.zip |
Enable building of all hardware drivers and fix a bug with outb.
My HD44780 based 16x2 display (in 4 bit mode) now works.
Notes
Notes:
svn path=/head/; revision=76470
Diffstat (limited to 'sysutils/lcdproc')
-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 |