rpms/PerceptualDiff/devel PerceptualDiff-1.0.1-gcc43.patch, NONE, 1.1 PerceptualDiff.spec, 1.2, 1.3
Chauvet (kwizart)
fedora-extras-commits at redhat.com
Fri Jan 4 20:34:10 UTC 2008
Author: kwizart
Update of /cvs/pkgs/rpms/PerceptualDiff/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4956
Modified Files:
PerceptualDiff.spec
Added Files:
PerceptualDiff-1.0.1-gcc43.patch
Log Message:
- Fix gcc43
PerceptualDiff-1.0.1-gcc43.patch:
--- NEW FILE PerceptualDiff-1.0.1-gcc43.patch ---
diff -up PerceptualDiff-1.0.1/CompareArgs.cpp.gcc43 PerceptualDiff-1.0.1/CompareArgs.cpp
--- PerceptualDiff-1.0.1/CompareArgs.cpp.gcc43 2008-01-04 21:19:00.000000000 +0100
+++ PerceptualDiff-1.0.1/CompareArgs.cpp 2008-01-04 21:29:34.000000000 +0100
@@ -16,7 +16,9 @@ if not, write to the Free Software Found
#include "CompareArgs.h"
#include "RGBAImage.h"
-#include <stdio.h>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
static const char* copyright =
"PerceptualDiff version 1.0, Copyright (C) 2006 Yangli Hector Yee\n\
Index: PerceptualDiff.spec
===================================================================
RCS file: /cvs/pkgs/rpms/PerceptualDiff/devel/PerceptualDiff.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- PerceptualDiff.spec 14 Aug 2007 15:20:22 -0000 1.2
+++ PerceptualDiff.spec 4 Jan 2008 20:33:36 -0000 1.3
@@ -1,12 +1,13 @@
Name: PerceptualDiff
Version: 1.0.1
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: An image comparison utility
Group: Applications/Multimedia
-License: GPLv2
+License: GPLv2+
URL: http://pdiff.sourceforge.net
Source: http://downloads.sourceforge.net/pdiff/%{name}-%{version}.tar.gz
+Patch0: PerceptualDiff-1.0.1-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libtiff-devel, libpng-devel, cmake
@@ -26,6 +27,7 @@
sed -i 's/\r//' LPyramid.cpp
sed -i 's/\r//' LPyramid.h
chmod 0644 *
+%patch0 -p1 -b .gcc43
%build
@@ -62,6 +64,9 @@
%changelog
+* Fri Jan 4 2008 kwizart < kwizart at gmail.com > - 1.0.1-7
+- Fix gcc43
+
* Tue Aug 14 2007 kwizart < kwizart at gmail.com > - 1.0.1-6
- Update the license field to GPLv2
More information about the fedora-extras-commits
mailing list