From c4b34d3f6a020283cda589d6d8defe31345cae97 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Feb 11 2008 14:19:11 +0000 Subject: - respin (gcc43) - gcc43 patch --- diff --git a/exiv2-0.16-gcc43.patch b/exiv2-0.16-gcc43.patch new file mode 100644 index 0000000..d1bbbeb --- /dev/null +++ b/exiv2-0.16-gcc43.patch @@ -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 ++#include + #include + #include + +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 + #endif + ++#include ++ + 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 + #endif + ++#include ++ + 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 + #endif + ++#include ++ + 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 + #endif + ++#include ++ + using namespace std; + + #if XMP_WinBuild diff --git a/exiv2.spec b/exiv2.spec index 5b97fa6..f68045b 100644 --- a/exiv2.spec +++ b/exiv2.spec @@ -23,6 +23,7 @@ BuildRequires: zlib-devel #BuildRequires: doxygen graphviz libxslt Patch1: exiv2-0.9.1-deps.patch +Patch2: exiv2-0.16-gcc43.patch %if 0%{?libs} 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}} %patch1 -p1 -b .deps +%patch2 -p1 -b .gcc43 mkdir doc/html @@ -134,6 +136,7 @@ rm -rf %{buildroot} %changelog * Mon Feb 11 2008 Rex Dieter 0.16-2 - respin (gcc43) +- gcc43 patch * Sun Jan 13 2008 Rex Dieter 0.16-1 - eviv2-0.16