[125516] trunk/dports/lang/dragonegg-3.3

nicos at macports.org nicos at macports.org
Fri Sep 19 07:45:11 PDT 2014


Revision: 125516
          https://trac.macports.org/changeset/125516
Author:   nicos at macports.org
Date:     2014-09-19 07:45:11 -0700 (Fri, 19 Sep 2014)
Log Message:
-----------
dragonegg-3.3-gcc-4.8: fixing build (openmaintainer, ticket #44576)

Modified Paths:
--------------
    trunk/dports/lang/dragonegg-3.3/Portfile

Added Paths:
-----------
    trunk/dports/lang/dragonegg-3.3/files/patch-CPU_DEFAULT.patch

Modified: trunk/dports/lang/dragonegg-3.3/Portfile
===================================================================
--- trunk/dports/lang/dragonegg-3.3/Portfile	2014-09-19 10:23:19 UTC (rev 125515)
+++ trunk/dports/lang/dragonegg-3.3/Portfile	2014-09-19 14:45:11 UTC (rev 125516)
@@ -27,6 +27,9 @@
     revision            8
     set gcc_version     4.8
     set gcc_version_no_dot 48
+    #Fixing issue with TARGET_CPU_DEFAULT_max.
+    #see http://llvm.org/bugs/show_bug.cgi?id=18548
+    patchfiles-append   patch-CPU_DEFAULT.patch
 }
 
 dist_subdir             llvm
@@ -103,7 +106,7 @@
 # Intel looks ok, but I prefer using gcc-4.2 for consistency
 compiler.blacklist gcc-4.0
 
-patchfiles missing-includes.patch
+patchfiles-append missing-includes.patch
 
 post-extract {
     file copy ${filespath}/dragonegg-select ${select.file}

Added: trunk/dports/lang/dragonegg-3.3/files/patch-CPU_DEFAULT.patch
===================================================================
--- trunk/dports/lang/dragonegg-3.3/files/patch-CPU_DEFAULT.patch	                        (rev 0)
+++ trunk/dports/lang/dragonegg-3.3/files/patch-CPU_DEFAULT.patch	2014-09-19 14:45:11 UTC (rev 125516)
@@ -0,0 +1,36 @@
+--- src/x86/ABIHack.inc.orig	2013-05-22 01:16:37.000000000 +0900
++++ src/x86/ABIHack.inc	2014-09-18 19:54:44.000000000 +0900
+@@ -1663,33 +1663,6 @@
+   {&atom_cost, 16, 7, 16, 7, 16}
+ };
+ 
+-static const char *const cpu_names[TARGET_CPU_DEFAULT_max] =
+-{
+-  "generic",
+-  "i386",
+-  "i486",
+-  "pentium",
+-  "pentium-mmx",
+-  "pentiumpro",
+-  "pentium2",
+-  "pentium3",
+-  "pentium4",
+-  "pentium-m",
+-  "prescott",
+-  "nocona",
+-  "core2",
+-  "atom",
+-  "geode",
+-  "k6",
+-  "k6-2",
+-  "k6-3",
+-  "athlon",
+-  "athlon-4",
+-  "k8",
+-  "amdfam10"
+-};
+-
+-
+ /* Return the "natural" mode for TYPE.  In most cases, this is just TYPE_MODE.
+    But in the case of vector types, it is some vector mode.
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140919/7be72ff1/attachment.html>


More information about the macports-changes mailing list