updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / javapsionlink-cvs / replace-javax.comm.patch
blob59892fe2860806e5b11fcd28eed230a762ef3e6c
1 From 89420355a7231b2501bb4a06629d9f7bc7f02f11 Mon Sep 17 00:00:00 2001
2 From: Markus Heidelberg <markus.heidelberg@web.de>
3 Date: Mon, 19 Dec 2011 23:01:09 +0100
4 Subject: [PATCH] Use gnu.io instead of javax.comm for Java Communications API
6 ---
7 jpl2/link/layers/PhysicalLayer.java | 2 +-
8 jpl2/link/layers/SerialEventInputStream.java | 2 +-
9 2 files changed, 2 insertions(+), 2 deletions(-)
11 diff --git a/jpl2/link/layers/PhysicalLayer.java b/jpl2/link/layers/PhysicalLayer.java
12 index 93dbe64..9563180 100644
13 --- a/jpl2/link/layers/PhysicalLayer.java
14 +++ b/jpl2/link/layers/PhysicalLayer.java
15 @@ -24,7 +24,7 @@ import jpl2.common.Resources;
16 import jpl2.link.Link;
17 import jpl2.PsionLink;
19 -import javax.comm.*;
20 +import gnu.io.*; // was javax.comm.*
21 import java.io.*;
22 import java.util.*;
24 diff --git a/jpl2/link/layers/SerialEventInputStream.java b/jpl2/link/layers/SerialEventInputStream.java
25 index 79dc60b..66f28d1 100644
26 --- a/jpl2/link/layers/SerialEventInputStream.java
27 +++ b/jpl2/link/layers/SerialEventInputStream.java
28 @@ -20,7 +20,7 @@
29 package jpl2.link.layers;
31 import java.io.*;
32 -import javax.comm.*;
33 +import gnu.io.*; // was javax.comm.*
36 public class SerialEventInputStream extends InputStream implements SerialPortEventListener {
37 --
38 1.7.8