debian/changelog | 8 ++++++++ debian/patches/01_Xaw_StripChart_fix.diff | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+)
New commits: commit adf0624617d47886bd64d9a1fc678069c8c519d7 Author: Julien Cristau <[email protected]> Date: Thu Sep 10 15:53:47 2009 +0200 Add header to 01_Xaw_StripChart_fix.diff. This way it's not necessary to go look at the changelog for xfree86 4.2.1-5 to figure out what this is about. diff --git a/debian/changelog b/debian/changelog index b45400e..735ace8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +libxaw (2:1.0.6-2) UNRELEASED; urgency=low + + * Add header to 01_Xaw_StripChart_fix.diff. This way it's not necessary to + go look at the changelog for xfree86 4.2.1-5 to figure out what this is + about. + + -- Julien Cristau <[email protected]> Thu, 10 Sep 2009 15:51:22 +0200 + libxaw (2:1.0.6-1) unstable; urgency=low * Add README.source, bump Standards-Version to 3.8.2. diff --git a/debian/patches/01_Xaw_StripChart_fix.diff b/debian/patches/01_Xaw_StripChart_fix.diff index c81168a..a58b289 100644 --- a/debian/patches/01_Xaw_StripChart_fix.diff +++ b/debian/patches/01_Xaw_StripChart_fix.diff @@ -1,3 +1,21 @@ +From: "Nikita V. Youshchenko" <[email protected]> +Date: Sat, 02 Nov 2002 17:57:13 +0300 +Subject: A bug in Xaw/StripChart.c causes incorrect scale lines in xload window + +Recently I tried to run xload on a high loaded server (load was more +than 10), and discovered that if window size is rather small, scale +lines are drawn incorrectly (upper than needed). + +This is caused by a bug in Xaw/StripChart.c. +It draws lines with fixed integer steps. Than means that if window +height is 39 pixels, and 10 lines should be drawn to split view into 11 +equal parts, lines will be drawn at 3, 6, 9, ,.., 30. So the bottom part +height will be 9 pixels while other parts height will be 2 pixels. + +This patch makes part heights differ no more than by 1 pixel. + +Debian bug#167448 <http://bugs.debian.org/167448> + Index: libXaw-X11R7.0-1.0.1/src/StripChart.c =================================================================== --- libXaw-X11R7.0-1.0.1.orig/src/StripChart.c 2005-12-30 14:50:24.000000000 -0500 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

