fix segfault in pnmcolormap what makes latex2html/ppmquant unusable

(#158665, #139111)
This commit is contained in:
Jindrich Novy 2005-05-31 12:38:43 +00:00
parent 7552ecf308
commit 0d76dad45c

View File

@ -1,7 +1,7 @@
Summary: A library for handling different graphics file formats.
Name: netpbm
Version: 10.27
Release: 3
Release: 4
License: freeware
Group: System Environment/Libraries
URL: http://netpbm.sourceforge.net/
@ -21,6 +21,7 @@ Patch11: netpbm-10.27-badlink.patch
Patch12: netpbm-10.27-bmptopnm.patch
Patch13: netpbm-10.27-libpm.patch
Patch14: netpbm-10.27-pnmtojpeg.patch
Patch15: netpbm-10.27-pnmcolormap.patch
Buildroot: %{_tmppath}/%{name}-root
BuildPrereq: libjpeg-devel, libpng-devel, libtiff-devel, perl
Obsoletes: libgr
@ -78,6 +79,7 @@ netpbm-progs. You'll also need to install the netpbm package.
%patch12 -p1 -b .bmptopnm
%patch13 -p1 -b .libpm
%patch14 -p1 -b .pnmtojpeg
%patch15 -p1 -b .pnmcolormap
##mv shhopt/shhopt.h shhopt/pbmshhopt.h
##perl -pi -e 's|shhopt.h|pbmshhopt.h|g' `find -name "*.c" -o -name "*.h"` ./GNUmakefile
@ -175,6 +177,10 @@ rm -rf $RPM_BUILD_ROOT/usr/config_template
%{_mandir}/man5/*
%changelog
* Tue May 31 2005 Jindrich Novy <jnovy@redhat.com> 10.27-4
- fix segfault in pnmcolormap what makes latex2html/ppmquant
unusable (#158665, #139111)
* Mon May 16 2005 Jindrich Novy <jnovy@redhat.com> 10.27-3
- fix ppmdither leak caused by bug in security patch (#157757)
- drop gcc34 patch