- fix .ppmquantall patch (#207799)
- merge cmapsize with bmptopnm patch (#224554)
This commit is contained in:
parent
832d59ebfb
commit
7c46c91b0e
@ -9,11 +9,3 @@
|
|||||||
unsigned int pos;
|
unsigned int pos;
|
||||||
/* Current byte position in the BMP file */
|
/* Current byte position in the BMP file */
|
||||||
|
|
||||||
@@ -1278,7 +1278,6 @@ readBmp(FILE * const ifP,
|
|
||||||
BMPreadfileheader(ifP, &bytesRead, &offBits);
|
|
||||||
pos += bytesRead;
|
|
||||||
}
|
|
||||||
- if(BMPheader.cmapsize != 0)
|
|
||||||
{
|
|
||||||
unsigned int bytesRead;
|
|
||||||
BMPreadinfoheader(ifP, &bytesRead, &BMPheader);
|
|
||||||
|
@ -7,8 +7,8 @@ diff -ur netpbm-10.35.orig/editor/ppmquantall netpbm-10.35/editor/ppmquantall
|
|||||||
|
|
||||||
-set widths=()
|
-set widths=()
|
||||||
-set heights=()
|
-set heights=()
|
||||||
+set widths
|
+widths=()
|
||||||
+set heights
|
+heights=()
|
||||||
|
|
||||||
for i in ${files[@]}; do
|
for i in ${files[@]}; do
|
||||||
widths=(${widths[*]} `grep -v '^#' $i | sed '1d; s/ .*//; 2q'`)
|
widths=(${widths[*]} `grep -v '^#' $i | sed '1d; s/ .*//; 2q'`)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: A library for handling different graphics file formats
|
Summary: A library for handling different graphics file formats
|
||||||
Name: netpbm
|
Name: netpbm
|
||||||
Version: 10.35
|
Version: 10.35
|
||||||
Release: 14%{?dist}
|
Release: 15%{?dist}
|
||||||
License: Assorted licenses, see %{_docdir}/%{name}-%{version}/copyright_summary
|
License: Assorted licenses, see %{_docdir}/%{name}-%{version}/copyright_summary
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://netpbm.sourceforge.net/
|
URL: http://netpbm.sourceforge.net/
|
||||||
@ -11,7 +11,6 @@ Patch1: netpbm-10.17-time.patch
|
|||||||
Patch2: netpbm-9.24-strip.patch
|
Patch2: netpbm-9.24-strip.patch
|
||||||
Patch3: netpbm-10.19-message.patch
|
Patch3: netpbm-10.19-message.patch
|
||||||
Patch4: netpbm-10.22-security2.patch
|
Patch4: netpbm-10.22-security2.patch
|
||||||
Patch5: netpbm-10.22-cmapsize.patch
|
|
||||||
Patch6: netpbm-10.23-security.patch
|
Patch6: netpbm-10.23-security.patch
|
||||||
Patch7: netpbm-10.24-nodoc.patch
|
Patch7: netpbm-10.24-nodoc.patch
|
||||||
Patch8: netpbm-10.28-gcc4.patch
|
Patch8: netpbm-10.28-gcc4.patch
|
||||||
@ -69,7 +68,6 @@ netpbm-progs. You'll also need to install the netpbm package.
|
|||||||
%patch2 -p1 -b .strip
|
%patch2 -p1 -b .strip
|
||||||
%patch3 -p1 -b .message
|
%patch3 -p1 -b .message
|
||||||
%patch4 -p1 -b .security2
|
%patch4 -p1 -b .security2
|
||||||
%patch5 -p1 -b .cmapsize
|
|
||||||
%patch6 -p1 -b .security
|
%patch6 -p1 -b .security
|
||||||
%patch7 -p1 -b .nodoc
|
%patch7 -p1 -b .nodoc
|
||||||
%patch8 -p1 -b .gcc4
|
%patch8 -p1 -b .gcc4
|
||||||
@ -193,6 +191,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/netpbm/
|
%{_datadir}/netpbm/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 20 2007 Jindrich Novy <jnovy@redhat.com> 10.35-15
|
||||||
|
- fix .ppmquantall patch (#207799)
|
||||||
|
- merge cmapsize with bmptopnm patch (#224554)
|
||||||
|
|
||||||
* Mon Jul 16 2007 Jindrich Novy <jnovy@redhat.com> 10.35-14
|
* Mon Jul 16 2007 Jindrich Novy <jnovy@redhat.com> 10.35-14
|
||||||
- /usr/share/netpbm is no more unowned (#248300)
|
- /usr/share/netpbm is no more unowned (#248300)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user