- update to 10.35.57

This commit is contained in:
Jindrich Novy 2008-12-15 09:36:08 +00:00
parent b4c6e3eca9
commit 7f24b84ff7
4 changed files with 6 additions and 34 deletions

View File

@ -1 +1 @@
netpbm-10.35.55.tar.bz2
netpbm-10.35.57.tar.bz2

View File

@ -1,29 +0,0 @@
diff -up netpbm-10.35.51/editor/pamcomp.c.pamcomp netpbm-10.35.51/editor/pamcomp.c
--- netpbm-10.35.51/editor/pamcomp.c.pamcomp 2008-09-18 13:45:15.000000000 +0200
+++ netpbm-10.35.51/editor/pamcomp.c 2008-09-18 14:03:19.000000000 +0200
@@ -325,25 +325,6 @@ validateComputableHeight(int const origi
static void
-validateComputableHeight(int const originTop,
- int const overRows) {
-
- if (originTop < 0) {
- if (originTop < -INT_MAX)
- pm_error("Overlay starts too far above the underlay image to be "
- "computable. Overlay can be at most %d rows above "
- "the underlay.", INT_MAX);
- } else {
- if (INT_MAX - originTop <= overRows)
- pm_error("Too many total rows involved to be computable. "
- "You must have a shorter overlay image or compose it "
- "higher on the underlay image.");
- }
-}
-
-
-
-static void
computeOverlayPosition(int const underCols,
int const underRows,
int const overCols,

View File

@ -1,6 +1,6 @@
Summary: A library for handling different graphics file formats
Name: netpbm
Version: 10.35.55
Version: 10.35.57
Release: 1%{?dist}
# See copyright_summary for details
License: BSD and GPLv2 and IJG and MIT and Public Domain
@ -30,7 +30,6 @@ Patch17: netpbm-10.35-pbmtomacp.patch
Patch18: netpbm-10.35-glibc.patch
Patch19: netpbm-10.35-gcc43.patch
Patch20: netpbm-10.35-rgbtxt.patch
Patch21: netpbm-10.35-pamcomp.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libjpeg-devel, libpng-devel, libtiff-devel, flex
BuildRequires: libX11-devel, python, jasper-devel
@ -91,7 +90,6 @@ netpbm-progs. You'll also need to install the netpbm package.
%patch18 -p1 -b .glibc
%patch19 -p1 -b .gcc43
%patch20 -p1 -b .rgbtxt
%patch21 -p1 -b .pamcomp
##mv shhopt/shhopt.h shhopt/pbmshhopt.h
##perl -pi -e 's|shhopt.h|pbmshhopt.h|g' `find -name "*.c" -o -name "*.h"` ./GNUmakefile
@ -219,6 +217,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/netpbm/
%changelog
* Mon Dec 15 2008 Jindrich Novy <jnovy@redhat.com> 10.35.57-1
- update to 10.35.57
* Thu Nov 6 2008 Jindrich Novy <jnovy@redhat.com> 10.35.55-1
- update to 10.35.55

View File

@ -1 +1 @@
9d470a6472b3b49ecbc98e516d6d206c netpbm-10.35.55.tar.bz2
185a849a620efed4d540fef313c07774 netpbm-10.35.57.tar.bz2