aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-11-04 23:17:23 +0800
committermiwi <miwi@FreeBSD.org>2009-11-04 23:17:23 +0800
commita865acba4b1129c3f436d9bd0444306473d95edd (patch)
tree07f7f85ef81aef1560374f71081954de37f94992 /comms
parent6ed70086e31fe462465497802e220f821acc69aa (diff)
downloadfreebsd-ports-gnome-a865acba4b1129c3f436d9bd0444306473d95edd.tar.gz
freebsd-ports-gnome-a865acba4b1129c3f436d9bd0444306473d95edd.tar.zst
freebsd-ports-gnome-a865acba4b1129c3f436d9bd0444306473d95edd.zip
- Update list of supported serial ports in RXTX library
PR: 140187 Submitted by: Brian Williamson <bwilliamson@bex.net>
Diffstat (limited to 'comms')
-rw-r--r--comms/rxtx/Makefile2
-rw-r--r--comms/rxtx/files/patch-RXTXCommDriver.java36
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
+
+