Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Eric Sandall (49cba366deae7e296b960b1dbf2d6e721ca070f8)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (49cba366deae7e296b960b1dbf2d6e721ca070f8)
  • Date: Sat, 22 Mar 2008 19:31:27 -0500

GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:

graphics/openexr/HISTORY | 5 +++++
graphics/openexr/PRE_BUILD | 3 +++
graphics/openexr/gcc43.patch | 26 ++++++++++++++++++++++++++
http/mozilla/HISTORY | 5 +++++
http/mozilla/PRE_BUILD | 3 ++-
http/mozilla/mimemult.patch | 14 ++++++++++++++
6 files changed, 55 insertions(+), 1 deletion(-)

New commits:
commit 49cba366deae7e296b960b1dbf2d6e721ca070f8
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

openexr: Added patch to compile with gcc 4.3.0

commit c4e921afc734894e10cd9b63201e63e22dd7acb0
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

mozilla: Added patch to fix compilation with gcc4 (found with 4.3.0)

diff --git a/graphics/openexr/HISTORY b/graphics/openexr/HISTORY
index 21dee38..f33ecd9 100644
--- a/graphics/openexr/HISTORY
+++ b/graphics/openexr/HISTORY
@@ -1,3 +1,8 @@
+2008-03-22 Eric Sandall <sandalle AT sourcemage.org>
+ * PRE_BUILD: Apply gcc43.patch
+ * gcc43.patch: Patch to compile with gcc 4.3.0
+ From http://bugs.gentoo.org/show_bug.cgi?id=212435
+
2007-12-08 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: Fixed SOURCE_URL[1]
converted to upstream signature checking
diff --git a/graphics/openexr/PRE_BUILD b/graphics/openexr/PRE_BUILD
new file mode 100755
index 0000000..7528467
--- /dev/null
+++ b/graphics/openexr/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+patch -p1 < $SCRIPT_DIRECTORY/gcc43.patch
diff --git a/graphics/openexr/gcc43.patch b/graphics/openexr/gcc43.patch
new file mode 100644
index 0000000..47d39fd
--- /dev/null
+++ b/graphics/openexr/gcc43.patch
@@ -0,0 +1,26 @@
+#
+# From http://bugs.gentoo.org/show_bug.cgi?id=212435
+#
+diff -Naur openexr-1.6.1-orig/exrenvmap/main.cpp
openexr-1.6.1/exrenvmap/main.cpp
+--- openexr-1.6.1-orig/exrenvmap/main.cpp 2007-04-24 19:07:51.000000000
-0600
++++ openexr-1.6.1/exrenvmap/main.cpp 2008-01-12 20:28:56.000000000 -0600
+@@ -43,6 +43,7 @@
+ #include <makeLatLongMap.h>
+ #include <ImfEnvmap.h>
+ #include <iostream>
++#include <cstring>
+ #include <exception>
+ #include <stdlib.h>
+
+diff -Naur openexr-1.6.1-orig/exrmaketiled/main.cpp
openexr-1.6.1/exrmaketiled/main.cpp
+--- openexr-1.6.1-orig/exrmaketiled/main.cpp 2007-04-24 19:08:45.000000000
-0600
++++ openexr-1.6.1/exrmaketiled/main.cpp 2008-01-12 20:28:14.000000000
-0600
+@@ -45,6 +45,7 @@
+ #include <iostream>
+ #include <exception>
+ #include <string>
++#include <cstring>
+ #include <stdlib.h>
+
+ using namespace Imf;
+
diff --git a/http/mozilla/HISTORY b/http/mozilla/HISTORY
index 34a8c97..5dd5e7d 100644
--- a/http/mozilla/HISTORY
+++ b/http/mozilla/HISTORY
@@ -1,3 +1,8 @@
+2008-03-22 Eric Sandall <sandalle AT sourcemage.org>
+ * PRE_BUILD: Apply mimemult.patch for gcc4*
+ * mimemult.patch: Fix compilation (found with gcc 4.3.0)
+ From http://mail-index.netbsd.org/pkgsrc-bugs/2006/07/19/0000.html
+
2008-02-11 Eric Sandall <sandalle AT sourcemage.org>
* DETAILS: Updated Enigmail to 0.93.2
PATCHLEVEL=1
diff --git a/http/mozilla/PRE_BUILD b/http/mozilla/PRE_BUILD
index bbfc663..0988fdd 100755
--- a/http/mozilla/PRE_BUILD
+++ b/http/mozilla/PRE_BUILD
@@ -10,7 +10,8 @@ patch -p0 < $SCRIPT_DIRECTORY/libreg-standalone.diff &&
patch -p1 < $SCRIPT_DIRECTORY/freetype.patch &&

if use_gcc ^4; then
- patch -p0 < $SCRIPT_DIRECTORY/gcc4.patch
+ patch -p0 < $SCRIPT_DIRECTORY/gcc4.patch &&
+ patch -p0 < $SCRIPT_DIRECTORY/mimemult.patch
fi &&

# fixes a broken upstream Makefile.in
diff --git a/http/mozilla/mimemult.patch b/http/mozilla/mimemult.patch
new file mode 100644
index 0000000..46c6434
--- /dev/null
+++ b/http/mozilla/mimemult.patch
@@ -0,0 +1,14 @@
+#
+# From http://mail-index.netbsd.org/pkgsrc-bugs/2006/07/19/0000.html
+#
+--- mailnews/mime/src/mimeeobj.h.~1.3.~ 2001-09-29 05:07:42.000000000
+0900
++++ mailnews/mime/src/mimeeobj.h 2006-07-19 08:38:25.000000000 +0900
+@@ -54,7 +54,7 @@
+ MimeLeafClass leaf;
+ };
+
+-extern MimeExternalObjectClass mimeExternalObjectClass;
++extern "C" MimeExternalObjectClass mimeExternalObjectClass;
+
+ struct MimeExternalObject {
+ MimeLeaf leaf;



  • [SM-Commit] GIT changes to master grimoire by Eric Sandall (49cba366deae7e296b960b1dbf2d6e721ca070f8), Eric Sandall, 03/22/2008

Archive powered by MHonArc 2.6.24.

Top of Page