opnsense-ports/comms/rxtx/files/patch-src-gnu-io-LPRPort.java
Franco Fichtner aa59fa1d56 */*: sync with upstream
Taken from: FreeBSD
2015-06-28 08:04:23 +02:00

11 lines
469 B
Java

--- src/gnu/io/LPRPort.java.orig 2007-04-26 06:26:05.000000000 +0100
+++ src/gnu/io/LPRPort.java 2015-05-11 16:51:34.000000000 +0100
@@ -77,7 +77,7 @@
/** Initialize the native library */
private native static void Initialize();
- private final static boolean debug = false;
+ private final static boolean debug = "true".equals( System.getProperty( "gnu.io.rxtx.DEBUG" ) );
/** Open the named port */
public LPRPort( String name ) throws PortInUseException