mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-11 02:51:18 +02:00
java java
This commit is contained in:
11
_oldver/java/rxtx/files/patch-src-gnu-io-LPRPort.java
Normal file
11
_oldver/java/rxtx/files/patch-src-gnu-io-LPRPort.java
Normal file
@@ -0,0 +1,11 @@
|
||||
--- src/gnu/io/LPRPort.java.orig 2007-04-26 05:26:05 UTC
|
||||
+++ src/gnu/io/LPRPort.java
|
||||
@@ -77,7 +77,7 @@ final class LPRPort extends ParallelPort
|
||||
|
||||
/** 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
|
||||
Reference in New Issue
Block a user