[106211] trunk/dports/graphics/OpenSceneGraph
mk at macports.org
mk at macports.org
Sat May 18 16:31:56 PDT 2013
Revision: 106211
https://trac.macports.org/changeset/106211
Author: mk at macports.org
Date: 2013-05-18 16:31:56 -0700 (Sat, 18 May 2013)
Log Message:
-----------
OpenSceneGraph: closes ticket #39006
Modified Paths:
--------------
trunk/dports/graphics/OpenSceneGraph/Portfile
Added Paths:
-----------
trunk/dports/graphics/OpenSceneGraph/files/patch-include-osg-Math.diff
Modified: trunk/dports/graphics/OpenSceneGraph/Portfile
===================================================================
--- trunk/dports/graphics/OpenSceneGraph/Portfile 2013-05-18 22:35:34 UTC (rev 106210)
+++ trunk/dports/graphics/OpenSceneGraph/Portfile 2013-05-18 23:31:56 UTC (rev 106211)
@@ -5,6 +5,7 @@
name OpenSceneGraph
version 3.0.1
+revision 1
set inconvenient_version [strsed ${version} {/\.0$//}]
maintainers nomaintainer
license wxWidgets-3
@@ -25,7 +26,8 @@
sha256 0c1103574b0a5a27c7d68d43454f1bf9c0cea114a583c42637bc8eb47b1d8296
patchfiles patch-CMakeLists.txt.diff \
- patch-src-osgViewer-DarwinUtils.mm.diff
+ patch-src-osgViewer-DarwinUtils.mm.diff \
+ patch-include-osg-Math.diff
depends_build port:cmake
Added: trunk/dports/graphics/OpenSceneGraph/files/patch-include-osg-Math.diff
===================================================================
--- trunk/dports/graphics/OpenSceneGraph/files/patch-include-osg-Math.diff (rev 0)
+++ trunk/dports/graphics/OpenSceneGraph/files/patch-include-osg-Math.diff 2013-05-18 23:31:56 UTC (rev 106211)
@@ -0,0 +1,21 @@
+--- include/osg/Math.orig 2013-05-04 18:33:49.000000000 -0700
++++ include/osg/Math 2013-05-04 18:34:56.000000000 -0700
+@@ -38,6 +38,9 @@
+ #define APPLE_PRE_10_2
+ #endif
+ #endif
++#if !defined(MAC_OS_X_VERSION_10_7) || (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7)
++ #define APPLE_PRE_10_7
++#endif
+ #endif
+
+ #if defined(_MSC_VER)
+@@ -45,7 +48,7 @@
+ #endif
+
+ #if defined (sun) || \
+- defined (__APPLE__) || \
++ defined (APPLE_PRE_10_7) || \
+ (defined (_AIX) && defined (__GNUC__))
+
+ #include <float.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130518/20d64572/attachment.html>
More information about the macports-changes
mailing list