rpms/pfstools/devel pfstools-1.7.0-gcc44.patch, NONE, 1.1 pfstools.spec, 1.3, 1.4

Alex Lancaster alexlan at fedoraproject.org
Tue Mar 24 00:46:17 UTC 2009


Author: alexlan

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

Modified Files:
	pfstools.spec 
Added Files:
	pfstools-1.7.0-gcc44.patch 
Log Message:
* Mon Mar 23 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.7.0-5
- Add patch to fix building with GCC 4.4


pfstools-1.7.0-gcc44.patch:

--- NEW FILE pfstools-1.7.0-gcc44.patch ---
--- pfstools-1.7.0/src/filter/pfspanoramic.cpp.orig	2009-03-23 17:23:39.000000000 -0700
+++ pfstools-1.7.0/src/filter/pfspanoramic.cpp	2009-03-23 17:27:34.000000000 -0700
@@ -195,7 +195,7 @@
     {
       char *opts;
       
-      if(opts = strchr(name, '/'))
+      if(opts = strchr((char *)name, '/'))
       {
         *opts++ = '\0';
       }


Index: pfstools.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pfstools/devel/pfstools.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- pfstools.spec	25 Feb 2009 20:47:34 -0000	1.3
+++ pfstools.spec	24 Mar 2009 00:45:46 -0000	1.4
@@ -1,6 +1,6 @@
 Name:		pfstools
 Version:	1.7.0
-Release:	4%{?dist}
+Release:	5%{?dist}
 Summary:	Programs for handling high-dynamic range images
 
 Group:		Applications/Multimedia
@@ -9,6 +9,7 @@
 Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 Patch1:		pfstools-mDATA.patch
 Patch2:		pfstools-1.7.0-bf1.patch
+Patch3:		pfstools-1.7.0-gcc44.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	automake
@@ -117,6 +118,7 @@
 %setup -q
 %patch1 -p1 -b .mDATA
 %patch2 -p1 -b .bf1
+%patch3 -p1 -b .gcc44
 # Remove the following once the patch for the Makefile.am file
 # is not necessary anymore.
 aclocal
@@ -269,6 +271,8 @@
 %{_includedir}/pfs-1.2/pfs.h
 
 %changelog
+* Mon Mar 23 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.7.0-5
+- Add patch to fix building with GCC 4.4
 
 * Wed Feb 25 2009 Ulrich Drepper <drepper at redhat.com> - 1.7.0-4
 - recompile for hdf5 ABI change




More information about the fedora-extras-commits mailing list