diff options
-rw-r--r-- | comms/rxtx/Makefile | 2 | ||||
-rw-r--r-- | comms/rxtx/files/patch-RXTXCommDriver.java | 36 |
2 files changed, 26 insertions, 12 deletions
diff --git a/comms/rxtx/Makefile b/comms/rxtx/Makefile index 68c0237965dd..9fed6facbfa0 100644 --- a/comms/rxtx/Makefile +++ b/comms/rxtx/Makefile @@ -7,7 +7,7 @@ PORTNAME= rxtx PORTVERSION= 2.1.7r2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= comms java MASTER_SITES= ftp://jarvi.dsl.frii.com/pub/rxtx/ PKGNAMESUFFIX= -${JAVA_PORT:S/java\///} diff --git a/comms/rxtx/files/patch-RXTXCommDriver.java b/comms/rxtx/files/patch-RXTXCommDriver.java index 0ebdc49cd70f..85fff8a42627 100644 --- a/comms/rxtx/files/patch-RXTXCommDriver.java +++ b/comms/rxtx/files/patch-RXTXCommDriver.java @@ -1,11 +1,25 @@ ---- src/RXTXCommDriver.java.orig 2006-01-30 05:37:49.000000000 +0100 -+++ src/RXTXCommDriver.java 2008-11-14 13:23:47.000000000 +0100 -@@ -590,6 +590,8 @@ - String[] Temp = { - "ttyd", //general purpose serial ports - "cuaa", //dialout serial ports -+ "ttyU", //USB serial ports -+ "cuaU", //USB dialout serial ports - "ttyA", //Specialix SI/XIO dialin ports - "cuaA", //Specialix SI/XIO dialout ports - "ttyD", //Digiboard - 16 dialin ports +Apply patch. + +Patch attached with submission follows: + +*** src/RXTXCommDriver.java.orig Sun Jan 29 23:37:49 2006 +--- src/RXTXCommDriver.java Sun Nov 1 19:36:18 2009 +*************** +*** 588,597 **** +--- 588,601 ---- + else if(osName.equals("FreeBSD")) //FIXME this is probably wrong + { + String[] Temp = { + "ttyd", //general purpose serial ports + "cuaa", //dialout serial ports ++ "ttyu", //general purpose serial ports (uart) ++ "cuau", //dialout serial ports (uart) ++ "ttyD", //USB serial ports ++ "cuaU", //USB dial in serial ports + "ttyA", //Specialix SI/XIO dialin ports + "cuaA", //Specialix SI/XIO dialout ports + "ttyD", //Digiboard - 16 dialin ports + "cuaD", //Digiboard - 16 dialout ports + "ttyE", //Stallion EasyIO (stl) dialin ports + + |