summaryrefslogtreecommitdiff
path: root/graphics/Hermes/files
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2007-08-30 15:57:05 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2007-08-30 15:57:05 +0000
commit12372ed18943061b631dd62635c7c79d0263692d (patch)
treef046578ab7353ca4d139f8ff30e65928673f0b36 /graphics/Hermes/files
parent- update to 1.4.7 [1] (diff)
- Fix build with gcc 4.x
PR: ports/115647 (based on) Submitted by: Oliver Brandmueller <ob@e-gitt.net>
Diffstat (limited to 'graphics/Hermes/files')
-rw-r--r--graphics/Hermes/files/patch-src-HeadMMX.h11
-rw-r--r--graphics/Hermes/files/patch-src-HeadX86.h11
2 files changed, 22 insertions, 0 deletions
diff --git a/graphics/Hermes/files/patch-src-HeadMMX.h b/graphics/Hermes/files/patch-src-HeadMMX.h
new file mode 100644
index 000000000000..fa7a76eda017
--- /dev/null
+++ b/graphics/Hermes/files/patch-src-HeadMMX.h
@@ -0,0 +1,11 @@
+--- src/HeadMMX.h.orig Thu Aug 30 19:26:59 2007
++++ src/HeadMMX.h Thu Aug 30 19:27:59 2007
+@@ -51,7 +51,7 @@
+
+ /* Fix the underscore business with ELF compilers */
+
+-#if defined(__ELF__) && defined(__GNUC__)
++#if defined(__ELF__) && defined(__GNUC__) && __GNUC__ < 4
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
diff --git a/graphics/Hermes/files/patch-src-HeadX86.h b/graphics/Hermes/files/patch-src-HeadX86.h
new file mode 100644
index 000000000000..e3cb4826eb11
--- /dev/null
+++ b/graphics/Hermes/files/patch-src-HeadX86.h
@@ -0,0 +1,11 @@
+--- src/HeadX86.h.orig Thu Aug 30 19:28:22 2007
++++ src/HeadX86.h Thu Aug 30 19:28:44 2007
+@@ -83,7 +83,7 @@
+
+ /* Now fix up the ELF underscore problem */
+
+-#if defined(__ELF__) && defined(__GNUC__)
++#if defined(__ELF__) && defined(__GNUC__) && __GNUC__ < 4
+ #ifdef __cplusplus
+ extern "C" {
+ #endif