diff options
| author | Mario Domenech Goulart <mario@ossystems.com.br> | 2015-03-10 18:10:20 -0300 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-03-11 10:43:53 -0300 |
| commit | a3ede8721f19af849c6a23e3f8e60485ef9f30df (patch) | |
| tree | 21bbd62543d69e3dff1d02c8e728ca5155b14de0 /recipes-extended/rxtx/files/MonitorThread-daemon.patch | |
| parent | bd9c60238c4c62d9a0f2d60b89aef429a1b71e34 (diff) | |
| download | meta-java-a3ede8721f19af849c6a23e3f8e60485ef9f30df.tar.gz | |
rxtx: update to the latest Debian patchset
Update the recipe to apply all patches available from
git://anonscm.debian.org/pkg-java/rxtx.git as of
a4cd13e04254cea7842df2e30e9d12e9765a3ef9.
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-extended/rxtx/files/MonitorThread-daemon.patch')
| -rw-r--r-- | recipes-extended/rxtx/files/MonitorThread-daemon.patch | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/recipes-extended/rxtx/files/MonitorThread-daemon.patch b/recipes-extended/rxtx/files/MonitorThread-daemon.patch new file mode 100644 index 0000000..8e7951a --- /dev/null +++ b/recipes-extended/rxtx/files/MonitorThread-daemon.patch | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | Description: Threads created in Java by RXTX are not marked as daemon. | ||
| 2 | Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674975 | ||
| 3 | Author: Christopher Wellons <mosquitopsu@gmail.com> | ||
| 4 | Upstream-Status: Pending | ||
| 5 | --- a/src/gnu/io/I2C.java | ||
| 6 | +++ b/src/gnu/io/I2C.java | ||
| 7 | @@ -468,7 +468,9 @@ | ||
| 8 | private boolean BI=false; | ||
| 9 | private boolean Data=false; | ||
| 10 | private boolean Output=false; | ||
| 11 | - MonitorThread() { } | ||
| 12 | + MonitorThread() { | ||
| 13 | + setDaemon(true); | ||
| 14 | + } | ||
| 15 | public void run() { | ||
| 16 | eventLoop(); | ||
| 17 | } | ||
| 18 | --- a/src/gnu/io/LPRPort.java | ||
| 19 | +++ b/src/gnu/io/LPRPort.java | ||
| 20 | @@ -366,7 +366,9 @@ | ||
| 21 | { | ||
| 22 | private boolean monError = false; | ||
| 23 | private boolean monBuffer = false; | ||
| 24 | - MonitorThread() { } | ||
| 25 | + MonitorThread() { | ||
| 26 | + setDaemon(true); | ||
| 27 | + } | ||
| 28 | public void run() | ||
| 29 | { | ||
| 30 | eventLoop(); | ||
| 31 | --- a/src/gnu/io/RS485.java | ||
| 32 | +++ b/src/gnu/io/RS485.java | ||
| 33 | @@ -465,7 +465,9 @@ | ||
| 34 | private boolean BI=false; | ||
| 35 | private boolean Data=false; | ||
| 36 | private boolean Output=false; | ||
| 37 | - MonitorThread() { } | ||
| 38 | + MonitorThread() { | ||
| 39 | + setDaemon(true); | ||
| 40 | + } | ||
| 41 | public void run() { | ||
| 42 | eventLoop(); | ||
| 43 | } | ||
| 44 | --- a/src/gnu/io/RXTXPort.java | ||
| 45 | +++ b/src/gnu/io/RXTXPort.java | ||
| 46 | @@ -1629,6 +1629,7 @@ | ||
| 47 | |||
| 48 | MonitorThread() | ||
| 49 | { | ||
| 50 | + setDaemon(true); | ||
| 51 | if (debug) | ||
| 52 | z.reportln( "RXTXPort:MontitorThread:MonitorThread()"); | ||
| 53 | } | ||
| 54 | --- a/src/gnu/io/Raw.java | ||
| 55 | +++ b/src/gnu/io/Raw.java | ||
| 56 | @@ -466,7 +466,9 @@ | ||
| 57 | private boolean BI=false; | ||
| 58 | private boolean Data=false; | ||
| 59 | private boolean Output=false; | ||
| 60 | - MonitorThread() { } | ||
| 61 | + MonitorThread() { | ||
| 62 | + setDaemon(true); | ||
| 63 | + } | ||
| 64 | public void run() { | ||
| 65 | eventLoop(); | ||
| 66 | } | ||
