aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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