r17959 - in /desktop/experimental/librsvg/debian: changelog patches/rsvg-radius.patch
joss at users.alioth.debian.org
joss at users.alioth.debian.org
Mon Dec 22 17:38:28 UTC 2008
Author: joss
Date: Mon Dec 22 17:38:28 2008
New Revision: 17959
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=17959
Log:
rsvg-radius.patch: new patch. Check radii against floating point
underflow instead of comparing them to 0.0. Thanks a lot to Thomas
Viehmann for all the testing and providing the original patch.
Closes: #508443.
Added:
desktop/experimental/librsvg/debian/patches/rsvg-radius.patch
Modified:
desktop/experimental/librsvg/debian/changelog
Modified: desktop/experimental/librsvg/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/librsvg/debian/changelog?rev=17959&op=diff
==============================================================================
--- desktop/experimental/librsvg/debian/changelog (original)
+++ desktop/experimental/librsvg/debian/changelog Mon Dec 22 17:38:28 2008
@@ -1,3 +1,12 @@
+librsvg (2.22.3-2) UNRELEASED; urgency=low
+
+ * rsvg-radius.patch: new patch. Check radii against floating point
+ underflow instead of comparing them to 0.0. Thanks a lot to Thomas
+ Viehmann for all the testing and providing the original patch.
+ Closes: #508443.
+
+ -- Josselin Mouette <joss at debian.org> Mon, 22 Dec 2008 18:38:29 +0100
+
librsvg (2.22.3-1) experimental; urgency=low
* New upstream release.
Added: desktop/experimental/librsvg/debian/patches/rsvg-radius.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/librsvg/debian/patches/rsvg-radius.patch?rev=17959&op=file
==============================================================================
--- desktop/experimental/librsvg/debian/patches/rsvg-radius.patch (added)
+++ desktop/experimental/librsvg/debian/patches/rsvg-radius.patch Mon Dec 22 17:38:28 2008
@@ -1,0 +1,14 @@
+--- rsvg-path.c.orig 2008-12-22 18:36:35.586933185 +0100
++++ rsvg-path.c 2008-12-22 18:37:54.934724594 +0100
+@@ -134,8 +134,9 @@
+ sinf = sin(f);
+ cosf = cos(f);
+
+- /* Check the radius */
+- if ((rx == 0.0) || (ry == 0.0))
++ /* Check the radius against floading point underflow.
++ See http://bugs.debian.org/508443 */
++ if ((fabs(rx) < DBL_EPSILON) || (fabs(ry) < DBL_EPSILON))
+ {
+ rsvg_bpath_def_lineto (ctx->bpath, x, y);
+ return;
More information about the pkg-gnome-commits
mailing list