diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2013-04-05 10:03:05 +0200 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2013-04-05 10:04:35 +0200 |
commit | 499e44455e1c37f89dfb9be9e8a970c26e1311d0 (patch) | |
tree | 3482587c7d027e092a8a281b606a85dcd800fd6e /recipes-extended/rxtx/files/ttyACM_port.patch | |
parent | 25ddfefe665ae48291d2ef3c88f4f1a74bad8768 (diff) | |
download | meta-java-499e44455e1c37f89dfb9be9e8a970c26e1311d0.tar.gz |
recipes-extended: split out recipes which are not needed for compiling openjdk
Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Diffstat (limited to 'recipes-extended/rxtx/files/ttyACM_port.patch')
-rw-r--r-- | recipes-extended/rxtx/files/ttyACM_port.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-extended/rxtx/files/ttyACM_port.patch b/recipes-extended/rxtx/files/ttyACM_port.patch new file mode 100644 index 0000000..da133c9 --- /dev/null +++ b/recipes-extended/rxtx/files/ttyACM_port.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | Description: Allows for the enumeration of many additional ports, including ttyACM for Arduino Unos | ||
2 | Author: Scott Howard <showard314@gmail.com> | ||
3 | |||
4 | Index: rxtx/src/gnu/io/RXTXCommDriver.java | ||
5 | =================================================================== | ||
6 | --- rxtx.orig/src/gnu/io/RXTXCommDriver.java 2010-10-04 23:14:47.236148507 -0400 | ||
7 | +++ rxtx/src/gnu/io/RXTXCommDriver.java 2010-10-04 23:18:56.976108303 -0400 | ||
8 | @@ -574,20 +574,7 @@ | ||
9 | if(osName.equals("Linux")) | ||
10 | { | ||
11 | String[] Temp = { | ||
12 | - "ttyS", // linux Serial Ports | ||
13 | "ttySA", // for the IPAQs | ||
14 | - "ttyUSB", // for USB frobs | ||
15 | - "rfcomm", // bluetooth serial device | ||
16 | - "ttyircomm", // linux IrCommdevices (IrDA serial emu) | ||
17 | - }; | ||
18 | - CandidatePortPrefixes=Temp; | ||
19 | - } | ||
20 | - else if(osName.equals("Linux-all-ports")) | ||
21 | - { | ||
22 | - /* if you want to enumerate all ports ~5000 | ||
23 | - possible, then replace the above with this | ||
24 | - */ | ||
25 | - String[] Temp = { | ||
26 | "comx", // linux COMMX synchronous serial card | ||
27 | "holter", // custom card for heart monitoring | ||
28 | "modem", // linux symbolic link to modem. | ||