[95265] trunk/dports/lang/luajit/Portfile

and.damore at macports.org and.damore at macports.org
Sun Jul 8 00:03:02 PDT 2012


Revision: 95265
          https://trac.macports.org/changeset/95265
Author:   and.damore at macports.org
Date:     2012-07-08 00:02:58 -0700 (Sun, 08 Jul 2012)
Log Message:
-----------
port luajit: fixing missing type issue with llvm/clang, issue was shown in http://build.macports.org/builders/buildports-lion-x86_64/builds/2439

Modified Paths:
--------------
    trunk/dports/lang/luajit/Portfile

Modified: trunk/dports/lang/luajit/Portfile
===================================================================
--- trunk/dports/lang/luajit/Portfile	2012-07-08 03:40:12 UTC (rev 95264)
+++ trunk/dports/lang/luajit/Portfile	2012-07-08 07:02:58 UTC (rev 95265)
@@ -28,6 +28,11 @@
 		${worksrcpath}/Makefile \
 		${worksrcpath}/src/luaconf.h \
 		${worksrcpath}/src/Makefile 
+
+    # fixes missing type when using llvm/clang, this is in repository HEAD so it'll have to be removed in future
+    # http://lua-list.2524044.n2.nabble.com/luajit2-Unwind-Exception-Class-and-Unwind-Ptr-on-OS-X-10-7-td6684372.html
+    reinplace "s|_Unwind_Exception_Class|uint64_t|" ${worksrcpath}/src/lj_err.c
+    reinplace "s|_Unwind_Ptr|uintptr_t|"            ${worksrcpath}/src/lj_err.c
 }
 
 post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120708/aeb4ce5e/attachment.html>


More information about the macports-changes mailing list