- add .gcc4 patch to fix some missing declarations of headers, some pointer
signedness mismatches, remove xmalloc2 - rebuilt with gcc4
This commit is contained in:
parent
d3664104ed
commit
b88d04683f
@ -1305,7 +1305,7 @@
|
|||||||
*depthP = 1; /* very old file */
|
*depthP = 1; /* very old file */
|
||||||
-
|
-
|
||||||
+
|
+
|
||||||
+ overflow_add(colsP, 31);
|
+ overflow_add((int)colsP, 31);
|
||||||
+
|
+
|
||||||
*padrightP = ( ( *colsP + 31 ) / 32 ) * 32 - *colsP;
|
*padrightP = ( ( *colsP + 31 ) / 32 ) * 32 - *colsP;
|
||||||
|
|
||||||
|
@ -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.26.4
|
Version: 10.26.4
|
||||||
Release: 1
|
Release: 2
|
||||||
License: freeware
|
License: freeware
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://netpbm.sourceforge.net/
|
URL: http://netpbm.sourceforge.net/
|
||||||
@ -17,6 +17,7 @@ Patch7: netpbm-10.23-gcc34.patch
|
|||||||
Patch8: netpbm-10.23-security.patch
|
Patch8: netpbm-10.23-security.patch
|
||||||
Patch9: netpbm-10.23-pngtopnm.patch
|
Patch9: netpbm-10.23-pngtopnm.patch
|
||||||
Patch10: netpbm-10.24-nodoc.patch
|
Patch10: netpbm-10.24-nodoc.patch
|
||||||
|
Patch11: netpbm-10.26.4-gcc4.patch
|
||||||
Buildroot: %{_tmppath}/%{name}-root
|
Buildroot: %{_tmppath}/%{name}-root
|
||||||
BuildPrereq: libjpeg-devel, libpng-devel, libtiff-devel, perl
|
BuildPrereq: libjpeg-devel, libpng-devel, libtiff-devel, perl
|
||||||
Obsoletes: libgr
|
Obsoletes: libgr
|
||||||
@ -70,6 +71,7 @@ netpbm-progs. You'll also need to install the netpbm package.
|
|||||||
%patch8 -p1 -b .security
|
%patch8 -p1 -b .security
|
||||||
%patch9 -p1 -b .pngtopnm
|
%patch9 -p1 -b .pngtopnm
|
||||||
%patch10 -p1 -b .nodoc
|
%patch10 -p1 -b .nodoc
|
||||||
|
#%patch11 -p1 -b .gcc4
|
||||||
|
|
||||||
##mv shhopt/shhopt.h shhopt/pbmshhopt.h
|
##mv shhopt/shhopt.h shhopt/pbmshhopt.h
|
||||||
##perl -pi -e 's|shhopt.h|pbmshhopt.h|g' `find -name "*.c" -o -name "*.h"` ./GNUmakefile
|
##perl -pi -e 's|shhopt.h|pbmshhopt.h|g' `find -name "*.c" -o -name "*.h"` ./GNUmakefile
|
||||||
@ -166,6 +168,11 @@ rm -rf $RPM_BUILD_ROOT/usr/pkginfo
|
|||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 09 2005 Jindrich Novy <jnovy@redhat.com> 10.26.4-2
|
||||||
|
- add .gcc4 patch to fix some missing declarations of headers,
|
||||||
|
some pointer signedness mismatches, remove xmalloc2
|
||||||
|
- rebuilt with gcc4
|
||||||
|
|
||||||
* Thu Mar 03 2005 Jindrich Novy <jnovy@redhat.com> 10.26.4-1
|
* Thu Mar 03 2005 Jindrich Novy <jnovy@redhat.com> 10.26.4-1
|
||||||
- update to netpbm-10.26.4, remove jbig, hpcd
|
- update to netpbm-10.26.4, remove jbig, hpcd
|
||||||
- this version fixes #149924
|
- this version fixes #149924
|
||||||
|
Loading…
Reference in New Issue
Block a user