update to 10.57.04
This commit is contained in:
parent
caace5a915
commit
c98e82f0fe
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/netpbm-10.57.03.tar.xz
|
||||
/netpbm-10.57.04.tar.xz
|
||||
|
@ -356,24 +356,6 @@ diff -up netpbm-10.47.05/editor/ppmfade.security-scripts netpbm-10.47.05/editor/
|
||||
+system("rm $tmpdir/junk*$$.ppm");
|
||||
|
||||
exit(0);
|
||||
diff -up netpbm-10.47.05/editor/ppmquantall.security-scripts netpbm-10.47.05/editor/ppmquantall
|
||||
--- netpbm-10.47.05/editor/ppmquantall.security-scripts 2009-12-10 08:34:32.000000000 +0100
|
||||
+++ netpbm-10.47.05/editor/ppmquantall 2010-03-16 21:28:09.000000000 +0100
|
||||
@@ -70,12 +70,8 @@ for i in ${files[@]}; do
|
||||
heights=(${heights[*]} `grep -v '^#' $i | sed '1d; s/.* //; 2q'`)
|
||||
done
|
||||
|
||||
-tempdir="${TMPDIR-/tmp}/ppmquantall.$$"
|
||||
-mkdir -m 0700 $tempdir || \
|
||||
- { echo "Could not create temporary file. Exiting."; exit 1;}
|
||||
-trap 'rm -rf $tempdir' 0 1 3 15
|
||||
-
|
||||
-all=$tempdir/pqa.all.$$
|
||||
+all=$(mktemp -t pqa.all.XXXXXXXXXX) || exit 1
|
||||
+rm -f $all
|
||||
|
||||
pnmcat -topbottom -jleft -white ${files[@]} | pnmquant $newcolors > $all
|
||||
if [ $? != 0 ]; then
|
||||
diff -up netpbm-10.47.05/editor/ppmshadow.security-scripts netpbm-10.47.05/editor/ppmshadow
|
||||
--- netpbm-10.47.05/editor/ppmshadow.security-scripts 2009-12-10 08:34:32.000000000 +0100
|
||||
+++ netpbm-10.47.05/editor/ppmshadow 2010-03-16 21:28:09.000000000 +0100
|
||||
|
@ -1,6 +1,6 @@
|
||||
Summary: A library for handling different graphics file formats
|
||||
Name: netpbm
|
||||
Version: 10.57.03
|
||||
Version: 10.57.04
|
||||
Release: 1%{?dist}
|
||||
# See copyright_summary for details
|
||||
License: BSD and GPLv2 and IJG and MIT and Public Domain
|
||||
@ -245,6 +245,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc userguide/*
|
||||
|
||||
%changelog
|
||||
* Mon Mar 12 2012 Jindrich Novy <jnovy@redhat.com> 10.57.04-1
|
||||
- update to 10.57.04
|
||||
- fixes ppmquantall
|
||||
|
||||
* Fri Mar 02 2012 Jindrich Novy <jnovy@redhat.com> 10.57.03-1
|
||||
- update to 10.57.03
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user