rpms/netpbm/devel netpbm-10.35-pamcomp.patch, NONE, 1.1 .cvsignore, 1.42, 1.43 netpbm.spec, 1.118, 1.119 sources, 1.46, 1.47

Jindrich Novy jnovy at fedoraproject.org
Thu Sep 18 12:35:32 UTC 2008


Author: jnovy

Update of /cvs/pkgs/rpms/netpbm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5704

Modified Files:
	.cvsignore netpbm.spec sources 
Added Files:
	netpbm-10.35-pamcomp.patch 
Log Message:
* Thu Sep 18 2008 Jindrich Novy <jnovy at redhat.com> 10.35.51-1
- update to netpbm-10.35.51
- make it actually compilable by removing duplicated function
  in pamcomp.c


netpbm-10.35-pamcomp.patch:

--- NEW FILE netpbm-10.35-pamcomp.patch ---
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, 


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/netpbm/devel/.cvsignore,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- .cvsignore	14 Aug 2008 11:53:18 -0000	1.42
+++ .cvsignore	18 Sep 2008 12:35:02 -0000	1.43
@@ -1 +1 @@
-netpbm-10.35.49.tar.bz2
+netpbm-10.35.51.tar.bz2


Index: netpbm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/netpbm/devel/netpbm.spec,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -r1.118 -r1.119
--- netpbm.spec	27 Aug 2008 13:57:51 -0000	1.118
+++ netpbm.spec	18 Sep 2008 12:35:02 -0000	1.119
@@ -1,7 +1,7 @@
 Summary: A library for handling different graphics file formats
 Name: netpbm
-Version: 10.35.49
-Release: 2%{?dist}
+Version: 10.35.51
+Release: 1%{?dist}
 # See copyright_summary for details
 License: BSD and GPLv2 and IJG and MIT and Public Domain
 Group: System Environment/Libraries
@@ -30,6 +30,7 @@
 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
@@ -90,6 +91,7 @@
 %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
@@ -217,6 +219,11 @@
 %{_datadir}/netpbm/
 
 %changelog
+* Thu Sep 18 2008 Jindrich Novy <jnovy at redhat.com> 10.35.51-1
+- update to netpbm-10.35.51
+- make it actually compilable by removing duplicated function
+  in pamcomp.c
+
 * Wed Aug 27 2008 Jindrich Novy <jnovy at redhat.com> 10.35.49-2
 - link against system jasper instead of embedded one (#460300)
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/netpbm/devel/sources,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- sources	14 Aug 2008 11:53:18 -0000	1.46
+++ sources	18 Sep 2008 12:35:02 -0000	1.47
@@ -1 +1 @@
-00a2d821ef0d207ee85fd19032a88162  netpbm-10.35.49.tar.bz2
+f07e2e4a669fff8ea8192e7b4834d9de  netpbm-10.35.51.tar.bz2




More information about the fedora-extras-commits mailing list