Package: rxtx / 2.2.0+dfsg-2
Metadata
Package | Version | Patches format |
---|---|---|
rxtx | 2.2.0+dfsg-2 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
zsystem_init_exception.patch | (download) |
src/gnu/io/RXTXPort.java |
4 3 + 1 - 0 ! |
print exception if initialization fails Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472053 |
kfreebsd_port.patch | (download) |
CNI/SerialImp.c |
8 4 + 4 - 0 ! |
defines freebsd for kfreebsd systems, also makes sure kfreebsd is set to use fhs #grep -r -H "__FreeBSD" . -m 1 --exclude=*.patch --exclude-dir=.git | cut -d: -f1 | xargs sed -i s/__FreeBSD__/__FreeBSD_kernel__/ #grep -r -H "ifdef __linux__" . -m 1 --exclude=*.patch --exclude-dir=.git | cut -d: -f1 | xargs sed -i s/'#ifdef __linux__'/'#if defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)'/ #grep -r -H "ifndef __linux__" . -m 1 --exclude=*.patch --exclude-dir=.git | cut -d: -f1 | xargs sed -i s/'#ifndef __linux__'/'#if !defined(__linux__) \&\& !defined(__GNU__) \&\& !defined(__GLIBC__)'/ Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585089 |
ttyACM_port.patch | (download) |
src/gnu/io/RXTXCommDriver.java |
13 0 + 13 - 0 ! |
allows for the enumeration of many additional ports, including ttyacm for arduino unos |
original_debian_changes.patch | (download) |
Makefile.am |
3 2 + 1 - 0 ! |
removes makefile install of rxtxcomm.jar, silences an unnecessary compiling error |
kfreebsd_libpthread.patch | (download) |
configure.in |
2 1 + 1 - 0 ! |
libc_r is not available, use libpthread Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585089 |
sys_io_h_check.patch | (download) |
configure.in |
1 1 + 0 - 0 ! |
sys/io.h does not exist on all systems Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609152 |
port_to_hurd.patch | (download) |
src/SerialImp.h |
2 1 + 1 - 0 ! |
defines __gnu__ to use the fhs |
multiple_property_dirs.patch | (download) |
src/SerialImp.c |
14 9 + 5 - 0 ! |
handles the case when "java.ext.dirs" system property contains more than one directory. |
uninstall_target.patch | (download) |
Makefile.am |
4 4 + 0 - 0 ! |
adds uninstall target to makefile |
fhs_lock_buffer_overflow_fix.patch | (download) |
CNI/SerialImp.c |
2 1 + 1 - 0 ! |
java fails with a buffer overflow when there's a locked serial device, see http://mailman.qbang.org/pipermail/rxtx/2009-May/10897125.html. |
MonitorThread daemon.patch | (download) |
src/gnu/io/I2C.java |
4 3 + 1 - 0 ! |
--- |
usb_38400.patch | (download) |
src/SerialImp.c |
16 11 + 5 - 0 ! |
the following patch should fix the reported issue. . On serial ports not supporting the TIOCGSERIAL/TIOCSSERIAL mechanism, this still means that the custom baud rates do not work, but at least 38400 works, again. . Perhaps an even better fix would be switching to the newer termios2 API, as described here: https://mail.python.org/pipermail/python-list/2012-October/633871.html . That API allows setting custom baud rates on the USB serial adapters I have tested, where TIOCGSERIAL/TIOCSSERIAL was not supported. . But unfortunately, termios2 is not available through glibc, so one would need to call linux-specific ioctls directly, which wouldn't be portable at all, and I don't know how it interacts with the BSD / Hurd ports. . Therefore this is the minimal fix, for now. |
fix_snprintf.patch | (download) |
src/SerialImp.c |
28 19 + 9 - 0 ! |
replace s[n]printf with asprintf/free Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=731151 |
format_security.patch | (download) |
CNI/SerialImp.c |
8 4 + 4 - 0 ! |
use format specifiers in fprintf statements for hardening flags |
privacy breach.patch | (download) |
RMISecurityManager.html |
8 3 + 5 - 0 ! |
privacy breach Fix various Lintian warnings about privacy breach. |
java10 compatibility.patch | (download) |
Makefile.am |
5 0 + 5 - 0 ! |
fixes the build failure with java 10 |