[99410] trunk/dports/graphics/Coin

ryandesign at macports.org ryandesign at macports.org
Sun Nov 4 05:51:51 PST 2012


Revision: 99410
          http://trac.macports.org//changeset/99410
Author:   ryandesign at macports.org
Date:     2012-11-04 05:51:51 -0800 (Sun, 04 Nov 2012)
Log Message:
-----------
Coin: fix build with Xcode 4.5 (#36632)

Modified Paths:
--------------
    trunk/dports/graphics/Coin/Portfile

Added Paths:
-----------
    trunk/dports/graphics/Coin/files/clang-name-lookup.diff
    trunk/dports/graphics/Coin/files/fix-weird-error.diff

Modified: trunk/dports/graphics/Coin/Portfile
===================================================================
--- trunk/dports/graphics/Coin/Portfile	2012-11-04 13:50:40 UTC (rev 99409)
+++ trunk/dports/graphics/Coin/Portfile	2012-11-04 13:51:51 UTC (rev 99410)
@@ -27,7 +27,7 @@
 			port:xorg-libXext \
 			port:xorg-libXt
 
-patchfiles	configure.patch for.patch
+patchfiles	configure.patch for.patch clang-name-lookup.diff fix-weird-error.diff
 
 configure.args		--with-simage=${prefix} --mandir=${prefix}/share/man
 

Added: trunk/dports/graphics/Coin/files/clang-name-lookup.diff
===================================================================
--- trunk/dports/graphics/Coin/files/clang-name-lookup.diff	                        (rev 0)
+++ trunk/dports/graphics/Coin/files/clang-name-lookup.diff	2012-11-04 13:51:51 UTC (rev 99410)
@@ -0,0 +1,10 @@
+--- include/Inventor/SbBasic.h.orig	2012-10-28 16:49:00.000000000 +0100
++++ include/Inventor/SbBasic.h	2012-10-28 16:50:15.000000000 +0100
+@@ -25,6 +25,7 @@
+ \**************************************************************************/
+ 
+ #include <Inventor/C/basic.h>
++#include <Inventor/C/errors/debugerror.h>
+ 
+ /* ********************************************************************** */
+ /* Trap people trying to use Inventor headers while compiling C source code.

Added: trunk/dports/graphics/Coin/files/fix-weird-error.diff
===================================================================
--- trunk/dports/graphics/Coin/files/fix-weird-error.diff	                        (rev 0)
+++ trunk/dports/graphics/Coin/files/fix-weird-error.diff	2012-11-04 13:51:51 UTC (rev 99410)
@@ -0,0 +1,12 @@
+--- src/fonts/freetype.cpp.orig	2012-10-28 17:24:06.000000000 +0100
++++ src/fonts/freetype.cpp	2012-10-28 17:24:20.000000000 +0100
+@@ -32,6 +32,9 @@
+ 
+    20050613 mortene. */
+ 
++#include <cstdlib>
++#include <cmath>
++
+ #include "fonts/freetype.h"
+ 
+ #ifdef HAVE_CONFIG_H
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121104/8215f69f/attachment.html>


More information about the macports-changes mailing list