mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Enable building of all hardware drivers and fix a bug with outb.
My HD44780 based 16x2 display (in 4 bit mode) now works.
This commit is contained in:
parent
40ebd7b675
commit
97ac63c075
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76470
@ -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
|
||||
|
19
sysutils/lcdproc/files/patch-port
Normal file
19
sysutils/lcdproc/files/patch-port
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user