aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2008-11-14 20:31:51 +0800
committerpav <pav@FreeBSD.org>2008-11-14 20:31:51 +0800
commit010462c2ed9073cc374c5633416287bd768a8021 (patch)
tree4effe6ae7d2e49abaceef46d9264cd0aba979772 /comms
parent807393a0cc355458fce52224423657f4a877e830 (diff)
downloadfreebsd-ports-gnome-010462c2ed9073cc374c5633416287bd768a8021.tar.gz
freebsd-ports-gnome-010462c2ed9073cc374c5633416287bd768a8021.tar.zst
freebsd-ports-gnome-010462c2ed9073cc374c5633416287bd768a8021.zip
- Recognize USB serial ports
PR: ports/127555 Submitted by: Takeshi MUTOH <mutoh@openedu.org>
Diffstat (limited to 'comms')
-rw-r--r--comms/rxtx/Makefile2
-rw-r--r--comms/rxtx/files/patch-RXTXCommDriver.java11
2 files changed, 12 insertions, 1 deletions
diff --git a/comms/rxtx/Makefile b/comms/rxtx/Makefile
index 3ccba6a9db30..68c0237965dd 100644
--- a/comms/rxtx/Makefile
+++ b/comms/rxtx/Makefile
@@ -7,7 +7,7 @@
PORTNAME= rxtx
PORTVERSION= 2.1.7r2
-PORTREVISION= 3
+PORTREVISION= 4
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
new file mode 100644
index 000000000000..0ebdc49cd70f
--- /dev/null
+++ b/comms/rxtx/files/patch-RXTXCommDriver.java
@@ -0,0 +1,11 @@
+--- 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