[SM-Commit] GIT changes to master grimoire by Eric Sandall (c2b7662249f0e345d5389f23c32193a1f725e7ad)
Eric Sandall
scm at sourcemage.org
Sat Apr 19 00:56:45 EDT 2008
GIT changes to master grimoire by Eric Sandall <sandalle at sourcemage.org>:
graphics/exiv2/HISTORY | 5 ++++
graphics/exiv2/PRE_BUILD | 3 ++
graphics/exiv2/gcc43.patch | 47 +++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 55 insertions(+)
New commits:
commit c2b7662249f0e345d5389f23c32193a1f725e7ad
Author: Eric Sandall <sandalle at sourcemage.org>
Commit: Eric Sandall <sandalle at sourcemage.org>
exiv2: Add patch for gcc 4.3.0 (submitted upstream at http://dev.robotbattle.com/bugs/view.php?id=547)
diff --git a/graphics/exiv2/HISTORY b/graphics/exiv2/HISTORY
index 276eafd..ceb35a3 100644
--- a/graphics/exiv2/HISTORY
+++ b/graphics/exiv2/HISTORY
@@ -1,3 +1,8 @@
+2008-04-18 Eric Sandall <sandalle at sourcemage.org>
+ * PRE_BUILD: Apply gcc43.patch
+ * gcc43.patch: Fix compilation with gcc 4.3.0
+ See http://dev.robotbattle.com/bugs/view.php?id=547
+
2008-01-09 Treeve Jelbert <treeve at sourcemage.org>
* DETAILS: version 0.16
diff --git a/graphics/exiv2/PRE_BUILD b/graphics/exiv2/PRE_BUILD
new file mode 100755
index 0000000..34cce88
--- /dev/null
+++ b/graphics/exiv2/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+patch -p1 < $SCRIPT_DIRECTORY/gcc43.patch
diff --git a/graphics/exiv2/gcc43.patch b/graphics/exiv2/gcc43.patch
new file mode 100644
index 0000000..08cd922
--- /dev/null
+++ b/graphics/exiv2/gcc43.patch
@@ -0,0 +1,47 @@
+diff -Naur exiv2-0.16.orig/xmpsdk/src/XMPCore_Impl.hpp exiv2-0.16/xmpsdk/src/XMPCore_Impl.hpp
+--- exiv2-0.16.orig/xmpsdk/src/XMPCore_Impl.hpp 2008-04-18 21:41:14.674009158 -0700
++++ exiv2-0.16/xmpsdk/src/XMPCore_Impl.hpp 2008-04-18 21:42:24.759030670 -0700
+@@ -21,6 +21,7 @@
+
+ #include <vector>
+ #include <string>
++#include <cstring>
+ #include <map>
+
+ #include <cassert>
+diff -Naur exiv2-0.16.orig/xmpsdk/src/XMPMeta.cpp exiv2-0.16/xmpsdk/src/XMPMeta.cpp
+--- exiv2-0.16.orig/xmpsdk/src/XMPMeta.cpp 2008-04-18 21:41:14.674009158 -0700
++++ exiv2-0.16/xmpsdk/src/XMPMeta.cpp 2008-04-18 21:41:59.981260226 -0700
+@@ -24,6 +24,8 @@
+ #include <iostream>
+ #endif
+
++#include <cstring>
++
+ using namespace std;
+
+ #if XMP_WinBuild
+diff -Naur exiv2-0.16.orig/xmpsdk/src/XMPMeta-GetSet.cpp exiv2-0.16/xmpsdk/src/XMPMeta-GetSet.cpp
+--- exiv2-0.16.orig/xmpsdk/src/XMPMeta-GetSet.cpp 2008-04-18 21:41:14.675010110 -0700
++++ exiv2-0.16/xmpsdk/src/XMPMeta-GetSet.cpp 2008-04-18 21:42:47.998017709 -0700
+@@ -25,6 +25,8 @@
+ #include <iostream>
+ #endif
+
++#include <cstring>
++
+ using namespace std;
+
+ #if XMP_WinBuild
+diff -Naur exiv2-0.16.orig/xmpsdk/src/XMPMeta-Parse.cpp exiv2-0.16/xmpsdk/src/XMPMeta-Parse.cpp
+--- exiv2-0.16.orig/xmpsdk/src/XMPMeta-Parse.cpp 2008-04-18 21:41:14.674009158 -0700
++++ exiv2-0.16/xmpsdk/src/XMPMeta-Parse.cpp 2008-04-18 21:44:03.867034243 -0700
+@@ -23,6 +23,8 @@
+ #include <iostream>
+ #endif
+
++#include <cstring>
++
+ using namespace std;
+
+ #if XMP_WinBuild
More information about the SM-Commit
mailing list