- update to 10.33

- drop upstreamed .ppmdepth patch
- fix segfault in ppmtompeg when encoding jpeg images (#185970)
This commit is contained in:
Jindrich Novy 2006-04-05 11:23:26 +00:00
parent e35af8a238
commit 1eb9c0f0a0
4 changed files with 26 additions and 6 deletions

View File

@ -18,3 +18,5 @@ netpbmdoc-10.31.tar.bz2
netpbm-10.31.tar.bz2
netpbm-10.32.tar.bz2
netpbmdoc-10.32.tar.bz2
netpbm-10.33.tar.bz2
netpbmdoc-10.33.tar.bz2

View File

@ -0,0 +1,13 @@
--- netpbm-10.33/converter/ppm/ppmtompeg/fsize.c.ppmtompeg 1995-07-03 23:57:05.000000000 +0200
+++ netpbm-10.33/converter/ppm/ppmtompeg/fsize.c 2006-04-05 12:44:04.000000000 +0200
@@ -117,8 +117,8 @@
Fsize_Validate(&Fsize_x, &Fsize_y);
if ((Fsize_x==0) || (Fsize_y==0)) {
- fprintf(stderr,"Frame %d: size is zero!\n",id);
-/* exit(1); */
+ fprintf(stderr,"Frame %d: image dimensions need to be integer multiples of 16 for ppmtompeg!\n",id);
+ exit(1);
}
#ifdef BLEAH

View File

@ -1,7 +1,7 @@
Summary: A library for handling different graphics file formats.
Name: netpbm
Version: 10.32
Release: 2
Version: 10.33
Release: 1
License: freeware
Group: System Environment/Libraries
URL: http://netpbm.sourceforge.net/
@ -21,7 +21,7 @@ Patch10: netpbm-10.28-CAN-2005-2471.patch
Patch11: netpbm-10.29-pnmtopng.patch
Patch12: netpbm-10.30-rgbtxt.patch
Patch13: netpbm-10.31-xwdfix.patch
Patch14: netpbm-10.32-pnmdepth.patch
Patch14: netpbm-10.33-ppmtompeg.patch
Buildroot: %{_tmppath}/%{name}-root
BuildRequires: libjpeg-devel, libpng-devel, libtiff-devel, perl, flex
Obsoletes: libgr
@ -79,7 +79,7 @@ netpbm-progs. You'll also need to install the netpbm package.
%patch11 -p1 -b .pnmtopng
%patch12 -p1 -b .rgbtxt
%patch13 -p1 -b .xwdfix
%patch14 -p1 -b .pnmdepth
%patch14 -p1 -b .ppmtompeg
##mv shhopt/shhopt.h shhopt/pbmshhopt.h
##perl -pi -e 's|shhopt.h|pbmshhopt.h|g' `find -name "*.c" -o -name "*.h"` ./GNUmakefile
@ -178,6 +178,11 @@ rm -rf $RPM_BUILD_ROOT/usr/config_template
%{_mandir}/man5/*
%changelog
* Wed Apr 5 2006 Jindrich Novy <jnovy@redhat.com> 10.33-3
- update to 10.33
- drop upstreamed .ppmdepth patch
- fix segfault in ppmtompeg when encoding jpeg images (#185970)
* Mon Apr 3 2006 Jindrich Novy <jnovy@redhat.com> 10.32-2
- fix broken symlink in upstream: pnmsdepth -> pamdepth (#187667)

View File

@ -1,2 +1,2 @@
f5e96eb9e3692c24b56dd011c2ca2948 netpbm-10.32.tar.bz2
a36f6786359883186369d61a84b25ae6 netpbmdoc-10.32.tar.bz2
2393ee1de99356c704007706ede73d43 netpbm-10.33.tar.bz2
21f91a8f9e508b9428455cb24e0f41c1 netpbmdoc-10.33.tar.bz2