diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/classpath/classpath-0.97.2/drawpolyline.patch | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/classpath/classpath-0.97.2/drawpolyline.patch')
-rw-r--r-- | recipes/classpath/classpath-0.97.2/drawpolyline.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/classpath/classpath-0.97.2/drawpolyline.patch b/recipes/classpath/classpath-0.97.2/drawpolyline.patch new file mode 100644 index 0000000000..407f991306 --- /dev/null +++ b/recipes/classpath/classpath-0.97.2/drawpolyline.patch @@ -0,0 +1,26 @@ +Index: gnu/java/awt/peer/gtk/CairoGraphics2D.java +=================================================================== +RCS file: /sources/classpath/classpath/gnu/java/awt/peer/gtk/CairoGraphics2D.java,v +retrieving revision 1.73 +diff -u -r1.73 CairoGraphics2D.java +--- gnu/java/awt/peer/gtk/CairoGraphics2D.java 8 Feb 2008 22:17:39 -0000 1.73 ++++ gnu/java/awt/peer/gtk/CairoGraphics2D.java 14 Oct 2008 06:50:57 -0000 +@@ -1246,7 +1246,10 @@ + + public void drawPolyline(int[] xPoints, int[] yPoints, int nPoints) + { +- draw(new Polygon(xPoints, yPoints, nPoints)); ++ for (int i = 1; i < nPoints; i++) ++ draw(new Line2D.Double( ++ xPoints[i - 1], yPoints[i - 1], ++ xPoints[i], yPoints[i])); + } + + public void drawOval(int x, int y, int width, int height) +@@ -2171,4 +2174,4 @@ + + return new Rectangle2D.Double(minX, minY, (maxX - minX), (maxY - minY)); + } +-} +\ No newline at end of file ++} |