rpms/PerceptualDiff/devel PerceptualDiff-1.0.2-gcc44.patch, NONE, 1.1 PerceptualDiff.spec, 1.8, 1.9

Chauvet Nicolas kwizart at fedoraproject.org
Thu Feb 12 19:04:52 UTC 2009


Author: kwizart

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

Modified Files:
	PerceptualDiff.spec 
Added Files:
	PerceptualDiff-1.0.2-gcc44.patch 
Log Message:
Patch for gcc44


PerceptualDiff-1.0.2-gcc44.patch:

--- NEW FILE PerceptualDiff-1.0.2-gcc44.patch ---
diff -up PerceptualDiff-1.0.2/Metric.cpp.gcc44 PerceptualDiff-1.0.2/Metric.cpp
--- PerceptualDiff-1.0.2/Metric.cpp.gcc44	2009-02-12 19:21:13.000000000 +0100
+++ PerceptualDiff-1.0.2/Metric.cpp	2009-02-12 19:21:48.000000000 +0100
@@ -18,6 +18,7 @@ if not, write to the Free Software Found
 #include "CompareArgs.h"
 #include "RGBAImage.h"
 #include "LPyramid.h"
+#include <cstdio>
 #include <math.h>
 
 #ifndef M_PI
@@ -313,4 +314,4 @@ bool Yee_Compare(CompareArgs &args)
 		}
 	}
 	return false;
-}
\ No newline at end of file
+}


Index: PerceptualDiff.spec
===================================================================
RCS file: /cvs/pkgs/rpms/PerceptualDiff/devel/PerceptualDiff.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- PerceptualDiff.spec	1 Sep 2008 17:15:53 -0000	1.8
+++ PerceptualDiff.spec	12 Feb 2009 19:04:22 -0000	1.9
@@ -2,7 +2,7 @@
 
 Name:			PerceptualDiff
 Version:		1.0.2
-Release:		3%{?dist}
+Release:		4%{?dist}
 Summary:		An image comparison utility
 
 Group:			Applications/Multimedia
@@ -10,6 +10,7 @@
 URL:			http://pdiff.sourceforge.net
 Source:			http://downloads.sourceforge.net/pdiff/%{name}-%{version}.tar.gz
 Patch0:			PerceptualDiff-1.0.2-gcc43.patch
+Patch1:			PerceptualDiff-1.0.2-gcc44.patch
 BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: cmake
@@ -32,6 +33,7 @@
 sed -i 's/\r//' LPyramid.h
 chmod 0644 *
 %patch0 -p1 -b .gcc43
+%patch1 -p1 -b .gcc44
 
 
 %build
@@ -65,6 +67,9 @@
 
 
 %changelog
+* Thu Feb 12 2009 kwizart < kwizart at gmail.com > - 1.0.2-4
+- Fix and Rebuild for gcc44
+
 * Mon Sep  1 2008 kwizart < kwizart at gmail.com > - 1.0.2-3
 - Re-introduce gcc43 patch
 




More information about the fedora-extras-commits mailing list