diff options
Diffstat (limited to 'dev-java/rxtx/files')
-rw-r--r-- | dev-java/rxtx/files/rxtx-2.1-7r2-ppcioh.diff | 16 | ||||
-rw-r--r-- | dev-java/rxtx/files/rxtx-2.1-7r2-ttyPZ.diff | 20 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-java/rxtx/files/rxtx-2.1-7r2-ppcioh.diff b/dev-java/rxtx/files/rxtx-2.1-7r2-ppcioh.diff new file mode 100644 index 000000000000..2f3f5d623ca9 --- /dev/null +++ b/dev-java/rxtx/files/rxtx-2.1-7r2-ppcioh.diff @@ -0,0 +1,16 @@ +diff --git a/src/RawImp.c b/src/RawImp.c +index 077f30e..813fcf9 100644 +--- a/src/RawImp.c ++++ b/src/RawImp.c +@@ -99,10 +99,8 @@ + # include <linux/serial.h> + # include <linux/version.h> + #endif +-#ifndef __APPLE__ /* dima */ +-#ifndef PPC ++#if !defined(__APPLE__) && !defined(PPC) && !defined(__powerpc__) && !defined(__powerpc64__) /* dima */ + #include <sys/io.h> +-#endif /* PPC */ + #endif /* dima */ + + extern int errno; diff --git a/dev-java/rxtx/files/rxtx-2.1-7r2-ttyPZ.diff b/dev-java/rxtx/files/rxtx-2.1-7r2-ttyPZ.diff new file mode 100644 index 000000000000..b8fa3edf5016 --- /dev/null +++ b/dev-java/rxtx/files/rxtx-2.1-7r2-ttyPZ.diff @@ -0,0 +1,20 @@ +diff --git a/src/gnu/io/RXTXCommDriver.java b/src/gnu/io/RXTXCommDriver.java +index 3dce198..954b102 100644 +--- a/src/gnu/io/RXTXCommDriver.java ++++ b/src/gnu/io/RXTXCommDriver.java +@@ -576,6 +576,7 @@ public class RXTXCommDriver implements CommDriver + String[] Temp = { + "ttyS", // linux Serial Ports + "ttySA", // for the IPAQs ++ "ttyPZ", // for G4/G5 RackMac + "ttyUSB", // for USB frobs + "rfcomm", // bluetooth serial device + "ttyircomm", // linux IrCommdevices (IrDA serial emu) +@@ -608,6 +609,7 @@ public class RXTXCommDriver implements CommDriver + // linux ISI serial card + "ttyMX",// linux Moxa Smart IO cards + "ttyP", // linux Hayes ESP serial card ++ "ttyPZ", // linux PPC/PPC64 Zilog serial ports + "ttyR", // linux comtrol cards + // linux Specialix RIO serial card + "ttyS", // linux Serial Ports |