[libchart-perl] 01/03: Add patch to fix off-by one error which caused ugly graphs since 2.4.4
Axel Beckert
abe at deuxchevaux.org
Mon Sep 22 11:05:18 UTC 2014
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch master
in repository libchart-perl.
commit d9b2f040c1e1f3a4b3d6b2fd272b893e65622029
Author: Partha P. Mukherjee <ppm.floss at gmail.com>
Date: Mon Sep 22 12:56:39 2014 +0200
Add patch to fix off-by one error which caused ugly graphs since 2.4.4
Closes: #709533
---
debian/changelog | 4 ++++
debian/patches/debian-bug-709533.patch | 27 +++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 32 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 96e19a2..53ce1e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,10 @@ libchart-perl (2.4.6-2) UNRELEASED; urgency=medium
[ Salvatore Bonaccorso ]
* Update Vcs-Browser URL to cgit web frontend
+ [ Partha P. Mukherjee ]
+ * Add patch to fix off-by one error which caused ugly graphs since 2.4.4
+ (Closes: #709533)
+
-- gregor herrmann <gregoa at debian.org> Thu, 27 Feb 2014 22:33:18 +0100
libchart-perl (2.4.6-1) unstable; urgency=low
diff --git a/debian/patches/debian-bug-709533.patch b/debian/patches/debian-bug-709533.patch
new file mode 100644
index 0000000..506a47b
--- /dev/null
+++ b/debian/patches/debian-bug-709533.patch
@@ -0,0 +1,27 @@
+From 1573b4da4c24e8b3165f4c55991e3dec7484eca8 Mon Sep 17 00:00:00 2001
+From: "Partha P. Mukherjee" <ppm.floss at gmail.com>
+Date: Mon, 22 Sep 2014 14:19:53 +0530
+Description: Fix off-by one error which causes ugly graphs again since 2.4.4
+Bug-Debian: https://bugs.debian.org/709533
+
+---
+ Chart/Base.pm | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/Chart/Base.pm b/Chart/Base.pm
+index 2c5bceb..995b439 100644
+--- a/Chart/Base.pm
++++ b/Chart/Base.pm
+@@ -4421,6 +4421,9 @@ sub _prepare_brush
+
+ if ( grep { $brushStyle eq $_ } ( 'default', 'circle', 'donut', 'OpenCircle', 'FilledCircle' ) )
+ {
++ $xc = $xc - 1;
++ $yc = $yc - 1;
++
+ $brush->arc( $xc, $yc, $radius, $radius, 0, 360, $newcolor );
+ $brush->fill( $xc, $yc, $newcolor );
+
+--
+1.7.9.5
+
diff --git a/debian/patches/series b/debian/patches/series
index c9352c4..8f7513f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
pod.patch
+debian-bug-709533.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libchart-perl.git
More information about the Pkg-perl-cvs-commits
mailing list