[128091] trunk/dports/graphics/opencv/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Wed Nov 12 20:26:22 PST 2014
Revision: 128091
https://trac.macports.org/changeset/128091
Author: jeremyhu at macports.org
Date: 2014-11-12 20:26:22 -0800 (Wed, 12 Nov 2014)
Log Message:
-----------
opencv: Fix build on Snow Leopard
Modified Paths:
--------------
trunk/dports/graphics/opencv/Portfile
Modified: trunk/dports/graphics/opencv/Portfile
===================================================================
--- trunk/dports/graphics/opencv/Portfile 2014-11-13 03:30:16 UTC (rev 128090)
+++ trunk/dports/graphics/opencv/Portfile 2014-11-13 04:26:22 UTC (rev 128091)
@@ -120,6 +120,13 @@
# gcc-4.0 exits with a bus error
compiler.blacklist-append gcc-4.0
+# Xcode 3.1.4's and Xcode 3.2.6's gcc-4.2 fails to build opencv-2.4.10 for i386:
+# opencv-2.4.10/modules/core/src/system.cpp: In static member function 'static cv::HWFeatures cv::HWFeatures::initialize()':
+# opencv-2.4.10/modules/core/src/system.cpp:280: error: can't find a register in class 'BREG' while reloading 'asm'
+# opencv-2.4.10/modules/core/src/system.cpp:238: error: 'asm' operand has impossible constraints
+# opencv-2.4.10/modules/core/src/system.cpp:280: error: 'asm' operand has impossible constraints
+compiler.blacklist-append *gcc-4.2*
+
# llvm-gcc-4.2 appears to be broken on old XCode (#35368)
compiler.blacklist-append {llvm-gcc-4.2 < 2336.11}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141112/c3102ae3/attachment.html>
More information about the macports-changes
mailing list