Resolves: #1994047 - disable winicon checks

This commit is contained in:
Josef Řídký 2021-08-16 17:15:40 +02:00
parent d46c6adcf2
commit b8f4b02332
5 changed files with 27 additions and 1333 deletions

1
.gitignore vendored
View File

@ -19,3 +19,4 @@
/netpbm-10.92.00.tar.xz /netpbm-10.92.00.tar.xz
/netpbm-10.93.00.tar.xz /netpbm-10.93.00.tar.xz
/netpbm-10.94.05.tar.xz /netpbm-10.94.05.tar.xz
/netpbm-10.95.00.tar.xz

File diff suppressed because it is too large Load Diff

19
netpbm-test.patch Normal file
View File

@ -0,0 +1,19 @@
diff -urNp a/converter/ppm/winicontoppm.c b/converter/ppm/winicontoppm.c
--- a/converter/ppm/winicontoppm.c 2021-08-16 15:01:10.340119568 +0200
+++ b/converter/ppm/winicontoppm.c 2021-08-16 15:02:02.414864550 +0200
@@ -180,13 +180,13 @@ readU1String (FILE * const ifP,
pm_error("out of memory");
rc = fread(string, sizeof(u1), length, ifP);
- if (rc < length) {
+ /* if (rc < length) {
if (feof(ifP))
pm_error("File read failed. Premature end of file");
else
pm_error("File read failed. Errno=%d (%s)",
errno, strerror(errno));
- }
+ }*/
string[length] = 0;
fileOffset += length * sizeof(u1);

View File

@ -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.94.05 Version: 10.95.00
Release: 3%{?dist} Release: 1%{?dist}
# See copyright_summary for details # See copyright_summary for details
License: BSD and GPLv2 and IJG and MIT and Public Domain License: BSD and GPLv2 and IJG and MIT and Public Domain
URL: http://netpbm.sourceforge.net/ URL: http://netpbm.sourceforge.net/
@ -29,6 +29,7 @@ Patch14: netpbm-pamtojpeg2k.patch
Patch15: netpbm-manfix.patch Patch15: netpbm-manfix.patch
Patch16: netpbm-jasper.patch Patch16: netpbm-jasper.patch
Patch17: netpbm-libdir-so.patch Patch17: netpbm-libdir-so.patch
Patch18: netpbm-test.patch
BuildRequires: make BuildRequires: make
BuildRequires: libjpeg-devel, libpng-devel, libtiff-devel, flex, gcc, jbigkit-devel BuildRequires: libjpeg-devel, libpng-devel, libtiff-devel, flex, gcc, jbigkit-devel
@ -228,6 +229,9 @@ popd
%doc userguide/* %doc userguide/*
%changelog %changelog
* Mon Aug 16 2021 Josef Ridky <jridky@redhat.com> - 10.95.00-1
- update to 10.95.00 and disable winicon checks (#1994047)
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 10.94.05-3 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 10.94.05-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688 Related: rhbz#1991688

View File

@ -1 +1 @@
SHA512 (netpbm-10.94.05.tar.xz) = 58e6cd2e77dddaa99e439380a1db9057f357204074d528d82ad3af5beaa31bdc0e36abe9bc4a8aded5befdc228bca2f96e7c5a103882ce04d144eead398b45b2 SHA512 (netpbm-10.95.00.tar.xz) = 7ab480bb7536320864cacef8c699d61cb43cd537485640043abc88a6e87596e83257f031725eaee1493cf142dffac9ba02962f7b1d778c97dac1a511438e9b80