From a865acba4b1129c3f436d9bd0444306473d95edd Mon Sep 17 00:00:00 2001 From: miwi Date: Wed, 4 Nov 2009 15:17:23 +0000 Subject: - Update list of supported serial ports in RXTX library PR: 140187 Submitted by: Brian Williamson --- comms/rxtx/Makefile | 2 +- comms/rxtx/files/patch-RXTXCommDriver.java | 36 +++++++++++++++++++++--------- 2 files changed, 26 insertions(+), 12 deletions(-) (limited to 'comms') diff --git a/comms/rxtx/Makefile b/comms/rxtx/Makefile index 68c0237965d..9fed6facbfa 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 0ebdc49cd70..85fff8a4262 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 + + -- cgit