From 499e44455e1c37f89dfb9be9e8a970c26e1311d0 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 5 Apr 2013 10:03:05 +0200 Subject: recipes-extended: split out recipes which are not needed for compiling openjdk Signed-off-by: Henning Heinold --- .../rxtx/files/zsystem_init_exception.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 recipes-extended/rxtx/files/zsystem_init_exception.patch (limited to 'recipes-extended/rxtx/files/zsystem_init_exception.patch') diff --git a/recipes-extended/rxtx/files/zsystem_init_exception.patch b/recipes-extended/rxtx/files/zsystem_init_exception.patch new file mode 100644 index 0000000..6421574 --- /dev/null +++ b/recipes-extended/rxtx/files/zsystem_init_exception.patch @@ -0,0 +1,19 @@ +Description: print exception if initialization fails +Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472053 +Author: Jan Niehusmann + +Index: rxtx/src/gnu/io/RXTXPort.java +=================================================================== +--- rxtx.orig/src/gnu/io/RXTXPort.java 2011-02-03 20:48:21.824924891 -0500 ++++ rxtx/src/gnu/io/RXTXPort.java 2011-02-03 20:50:04.058464228 -0500 +@@ -86,7 +86,9 @@ + { + try { + z = new Zystem(); +- } catch ( Exception e ) {} ++ } catch ( Exception e ) { ++ throw new Error(e.toString()); ++ } + + if(debug ) + z.reportln( "RXTXPort {}"); -- cgit v1.2.3-54-g00ecf