rpms/ufraw/devel ufraw-0.15-gcc-4.4.patch, NONE, 1.1 ufraw.spec, 1.41, 1.42

Nils Philippsen nphilipp at fedoraproject.org
Mon Mar 2 16:05:13 UTC 2009


Author: nphilipp

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

Modified Files:
	ufraw.spec 
Added Files:
	ufraw-0.15-gcc-4.4.patch 
Log Message:
fix building with gcc-4.4


ufraw-0.15-gcc-4.4.patch:

--- NEW FILE ufraw-0.15-gcc-4.4.patch ---
diff -up ufraw-0.15/dcraw.cc.gcc-4.4 ufraw-0.15/dcraw.cc
--- ufraw-0.15/dcraw.cc.gcc-4.4	2008-12-23 08:19:41.000000000 +0100
+++ ufraw-0.15/dcraw.cc	2009-03-02 15:56:58.724512142 +0100
@@ -8337,8 +8337,8 @@ int CLASS main (int argc, const char **a
   static int timestamp_only=0, thumbnail_only=0, identify_only=0;
   static int user_qual=-1, user_black=-1, user_sat=-1, user_flip=-1;
   static int use_fuji_rotate=1, write_to_stdout=0, quality, i, c;
-  static char opm, opt, *ofname, *cp, *bpfile=0;
-  static const char *sp, *dark_frame=0, *write_ext;
+  static char opm, opt, *ofname, *sp, *cp, *bpfile=0;
+  static const char *dark_frame=0, *write_ext;
   static struct utimbuf ut;
   static FILE *ofp;
 #ifndef NO_LCMS


Index: ufraw.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ufraw/devel/ufraw.spec,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- ufraw.spec	25 Feb 2009 22:39:39 -0000	1.41
+++ ufraw.spec	2 Mar 2009 16:04:43 -0000	1.42
@@ -41,6 +41,7 @@
 License: GPLv2+
 URL: http://ufraw.sourceforge.net
 Source0: http://downloads.sourceforge.net/ufraw/ufraw-%{version}.tar.gz
+Patch0: ufraw-0.15-gcc-4.4.patch
 BuildRequires: gimp-devel >= 2.0
 BuildRequires: gimp >= 2.0
 %if %{with cinepaint}
@@ -141,6 +142,7 @@
 
 EOF
 %setup -q
+%patch0 -p1 -b .gcc-4.4
 
 #./autogen.sh
 
@@ -227,7 +229,10 @@
 %endif
 
 %changelog
-* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.15-2
+* Mon Mar 02 2009 Nils Philippsen <nils at redhat.com> - 0.15-2
+- fix building with gcc-4.4
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org>
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 
 * Mon Jan 26 2009 Nils Philippsen <nils at redhat.com> - 0.15-1




More information about the fedora-extras-commits mailing list