This commit is contained in:
Matthias Clasen 2008-01-21 04:27:24 +00:00
parent 483eac5256
commit 654b5f9dd1
4 changed files with 7 additions and 18 deletions

View File

@ -1 +1 @@
librsvg-2.18.2.tar.bz2
librsvg-2.20.0.tar.bz2

View File

@ -11,13 +11,12 @@
Name: librsvg2
Summary: An SVG library based on cairo
Version: 2.18.2
Release: 2%{?dist}
Version: 2.20.0
Release: 1%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
Source: http://download.gnome.org/sources/librsvg/2.18/librsvg-%{version}.tar.bz2
Patch0: stack-leak.patch
Patch1: filter-leak.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: gtk2 >= %{gtk2_version}
@ -65,7 +64,6 @@ files to allow you to develop with librsvg.
%prep
%setup -q -n librsvg-%{version}
%patch0 -p1 -b .stack-leak
%patch1 -p1 -b .filter-leak
%build
@ -122,6 +120,9 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_datadir}/gtk-doc/html/rsvg
%changelog
* Sun Jan 20 2008 Matthias Clasen <mclasen@redhat.com> - 2.20.0-1
- Update to 2.20.0
* Tue Sep 11 2007 Matthias Clasen <mclasen@redhat.com> - 2.18.2-2
- Plug memory leaks

View File

@ -1 +1 @@
4691ad687281e943260021272c28043e librsvg-2.18.2.tar.bz2
14cc098b68e72ee6a8cdd55edc1ea1b4 librsvg-2.20.0.tar.bz2

View File

@ -1,12 +0,0 @@
diff -up librsvg-2.18.2/rsvg-cairo-draw.c.stack-leak librsvg-2.18.2/rsvg-cairo-draw.c
--- librsvg-2.18.2/rsvg-cairo-draw.c.stack-leak 2007-09-11 09:34:39.000000000 -0400
+++ librsvg-2.18.2/rsvg-cairo-draw.c 2007-09-11 09:35:03.000000000 -0400
@@ -981,7 +981,7 @@ rsvg_cairo_pop_render_stack (RsvgDrawing
GdkPixbuf *pixbuf = render->pixbuf_stack->data;
GdkPixbuf *bg = rsvg_compile_bg (ctx);
- render->pixbuf_stack = g_list_remove_link (render->pixbuf_stack, render->pixbuf_stack);
+ render->pixbuf_stack = g_list_remove (render->pixbuf_stack, pixbuf);
output = rsvg_filter_render (state->filter, pixbuf, bg, ctx, &render->bbox, "2103");