Package: king / 2.21.120420+dfsg-1

java7-compat.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Description: Fix FTBFS with Java7
 Java7 provides javax.swing.Painter, which makes "Painter" ambigious
 unless king.core.Painter is explcitly imported.

--- king-2.21.120420.orig/king/src/king/ToolBox.java
+++ king-2.21.120420/king/src/king/ToolBox.java
@@ -2,6 +2,7 @@
 //{{{ Package, imports
 package king;
 import king.core.*;
+import king.core.Painter;
 
 import java.awt.*;
 import java.awt.event.*;
--- king-2.21.120420.orig/king/src/king/ToolServices.java
+++ king-2.21.120420/king/src/king/ToolServices.java
@@ -2,6 +2,7 @@
 //{{{ Package, imports
 package king;
 import king.core.*;
+import king.core.Painter;
 import king.points.*;
 
 import java.awt.*;
--- king-2.21.120420.orig/king/src/king/BasicTool.java
+++ king-2.21.120420/king/src/king/BasicTool.java
@@ -2,6 +2,7 @@
 //{{{ Package, imports
 package king;
 import king.core.*;
+import king.core.Painter;
 
 import java.awt.*;
 import java.awt.event.*;
--- king-2.21.120420.orig/king/src/king/KinCanvas.java
+++ king-2.21.120420/king/src/king/KinCanvas.java
@@ -2,6 +2,7 @@
 //{{{ Package, imports
 package king;
 import king.core.*;
+import king.core.Painter;
 import king.painters.*;
 
 import java.awt.*;
--- king-2.21.120420.orig/king/src/king/tool/draw/DrawingTool.java
+++ king-2.21.120420/king/src/king/tool/draw/DrawingTool.java
@@ -3,6 +3,7 @@
 package king.tool.draw;
 import king.*;
 import king.core.*;
+import king.core.Painter;
 import king.points.*;
 
 import java.awt.*;