Fix a problem with freeing of memory in PreScanOutputDev

This commit is contained in:
Marek Kasik 2011-08-17 17:34:29 +02:00
parent 582b233f64
commit 203e34245f
2 changed files with 17 additions and 1 deletions

11
poppler-0.17.0-free.patch Normal file
View File

@ -0,0 +1,11 @@
--- poppler-0.17.0/poppler/PreScanOutputDev.cc 2011-08-17 17:12:15.000000000 +0200
+++ poppler-0.17.0/poppler/PreScanOutputDev.cc 2011-08-17 17:12:21.000000000 +0200
@@ -23,6 +23,8 @@
//
//========================================================================
+#include <config.h>
+
#ifdef USE_GCC_PRAGMAS
#pragma implementation
#endif

View File

@ -2,7 +2,7 @@
Summary: PDF rendering library
Name: poppler
Version: 0.17.0
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2
Group: Development/Libraries
URL: http://poppler.freedesktop.org/
@ -13,6 +13,7 @@ Source0: http://poppler.freedesktop.org/poppler-%{version}.tar.gz
Patch1: poppler-0.12.4-annot-appearance.patch
## upstream patches
Patch2: poppler-0.17.0-free.patch
Requires: poppler-data >= 0.4.0
@ -121,6 +122,7 @@ converting PDF files to a number of other formats.
%setup -q
#%patch1 -p1 -b .annot
%patch2 -p1 -b .free
chmod -x goo/GooTimer.h
@ -220,6 +222,9 @@ rm -fv $RPM_BUILD_ROOT%{_libdir}/lib*.la
%changelog
* Wed Aug 17 2011 Marek Kasik <mkasik@redhat.com> - 0.17.0-2
- Fix a problem with freeing of memory in PreScanOutputDev (#730941)
* Fri Jul 15 2011 Marek Kasik <mkasik@redhat.com> - 0.17.0-1
- Update to 0.17.0