- respin (gcc43)

- gcc43 patch
This commit is contained in:
Rex Dieter 2008-02-11 14:19:11 +00:00
parent 0b9ac3cc11
commit c4b34d3f6a
2 changed files with 65 additions and 0 deletions

62
exiv2-0.16-gcc43.patch Normal file
View File

@ -0,0 +1,62 @@
diff -up exiv2-0.16/xmpsdk/src/XMPCore_Impl.hpp.gcc43 exiv2-0.16/xmpsdk/src/XMPCore_Impl.hpp
--- exiv2-0.16/xmpsdk/src/XMPCore_Impl.hpp.gcc43 2007-12-08 10:52:25.000000000 -0600
+++ exiv2-0.16/xmpsdk/src/XMPCore_Impl.hpp 2008-02-11 08:12:25.000000000 -0600
@@ -20,6 +20,7 @@
#include "client-glue/WXMPMeta.hpp"
#include <vector>
+#include <cstring>
#include <string>
#include <map>
diff -up exiv2-0.16/xmpsdk/src/XMPMeta-Serialize.cpp.gcc43 exiv2-0.16/xmpsdk/src/XMPMeta-Serialize.cpp
--- exiv2-0.16/xmpsdk/src/XMPMeta-Serialize.cpp.gcc43 2007-10-05 23:46:22.000000000 -0500
+++ exiv2-0.16/xmpsdk/src/XMPMeta-Serialize.cpp 2008-02-11 07:45:25.000000000 -0600
@@ -22,8 +22,11 @@
#include <iostream>
#endif
+#include <string.h>
+
using namespace std;
+
#if XMP_WinBuild
#pragma warning ( disable : 4533 ) // initialization of '...' is skipped by 'goto ...'
#pragma warning ( disable : 4702 ) // unreachable code
diff -up exiv2-0.16/xmpsdk/src/XMPMeta.cpp.gcc43 exiv2-0.16/xmpsdk/src/XMPMeta.cpp
--- exiv2-0.16/xmpsdk/src/XMPMeta.cpp.gcc43 2007-10-06 03:11:52.000000000 -0500
+++ exiv2-0.16/xmpsdk/src/XMPMeta.cpp 2008-02-11 07:43:12.000000000 -0600
@@ -24,6 +24,8 @@
#include <iostream>
#endif
+#include <string.h>
+
using namespace std;
#if XMP_WinBuild
diff -up exiv2-0.16/xmpsdk/src/XMPMeta-GetSet.cpp.gcc43 exiv2-0.16/xmpsdk/src/XMPMeta-GetSet.cpp
--- exiv2-0.16/xmpsdk/src/XMPMeta-GetSet.cpp.gcc43 2007-10-01 12:59:06.000000000 -0500
+++ exiv2-0.16/xmpsdk/src/XMPMeta-GetSet.cpp 2008-02-11 07:48:01.000000000 -0600
@@ -25,6 +25,8 @@
#include <iostream>
#endif
+#include <string.h>
+
using namespace std;
#if XMP_WinBuild
diff -up exiv2-0.16/xmpsdk/src/XMPMeta-Parse.cpp.gcc43 exiv2-0.16/xmpsdk/src/XMPMeta-Parse.cpp
--- exiv2-0.16/xmpsdk/src/XMPMeta-Parse.cpp.gcc43 2008-02-11 07:46:47.000000000 -0600
+++ exiv2-0.16/xmpsdk/src/XMPMeta-Parse.cpp 2008-02-11 07:47:00.000000000 -0600
@@ -23,6 +23,8 @@
#include <iostream>
#endif
+#include <string.h>
+
using namespace std;
#if XMP_WinBuild

View File

@ -23,6 +23,7 @@ BuildRequires: zlib-devel
#BuildRequires: doxygen graphviz libxslt #BuildRequires: doxygen graphviz libxslt
Patch1: exiv2-0.9.1-deps.patch Patch1: exiv2-0.9.1-deps.patch
Patch2: exiv2-0.16-gcc43.patch
%if 0%{?libs} %if 0%{?libs}
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
@ -72,6 +73,7 @@ methods for Exif thumbnails, classes to access Ifd and so on.
%setup -q -n %{name}-%{version}%{?pre:-%{pre}} %setup -q -n %{name}-%{version}%{?pre:-%{pre}}
%patch1 -p1 -b .deps %patch1 -p1 -b .deps
%patch2 -p1 -b .gcc43
mkdir doc/html mkdir doc/html
@ -134,6 +136,7 @@ rm -rf %{buildroot}
%changelog %changelog
* Mon Feb 11 2008 Rex Dieter <rdieter@fedoraproject.org> 0.16-2 * Mon Feb 11 2008 Rex Dieter <rdieter@fedoraproject.org> 0.16-2
- respin (gcc43) - respin (gcc43)
- gcc43 patch
* Sun Jan 13 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-1 * Sun Jan 13 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 0.16-1
- eviv2-0.16 - eviv2-0.16