Bug#264484: (no subject)
Nick Lewycky
Nick Lewycky <nicholas@mxc.ca>, 264484@bugs.debian.org
Sun, 29 Aug 2004 07:37:29 -0400
Somehow, it would appear that I really did submit a patch that doesn't
compile. This in spite of having built, installed and tested my patched
packages. Anyways, the following chunk is should be applied after the
above patch.
Nick
diff -u librsvg2-2.7.2/rsvg-css.c librsvg2-2.7.2/rsvg-css.c
--- librsvg2-2.7.2/rsvg-css.c
+++ librsvg2-2.7.2/rsvg-css.c
@@ -699,7 +699,7 @@
gint inherit)
{
if (!str)
- return NULL;
+ return 0;
else if (!strcmp (str, "inherit"))
return inherit;
else if (!strcmp (str, "baseline"))
@@ -711,7 +711,6 @@
else
return rsvg_css_parse_normalized_length (str,
pixels_per_inch,
width_or_height, font_size);
- }
}
#if !defined(HAVE_STRTOK_R) && !GLIB_CHECK_VERSION(2, 3, 2)