openbsd-ports/x11/qt4/patches/patch-mkspecs_features_qt_prf
dcoppa a69794a5c1 Bug-fix update to qt-4.7.2.
Tested in a bulk build by landry@
OK espie@
2011-04-03 13:35:30 +00:00

20 lines
768 B
Plaintext

$OpenBSD: patch-mkspecs_features_qt_prf,v 1.1 2011/04/03 13:35:31 dcoppa Exp $
--- mkspecs/features/qt.prf.orig Wed Mar 30 09:13:40 2011
+++ mkspecs/features/qt.prf Wed Mar 30 09:14:55 2011
@@ -212,10 +212,10 @@ mac {
mmx:DEFINES += QT_HAVE_MMX
3dnow:DEFINES += QT_HAVE_3DNOW
sse:DEFINES += QT_HAVE_SSE QT_HAVE_MMXEXT
-sse2:DEFINES += QT_HAVE_SSE2
-sse3:DEFINES += QT_HAVE_SSE3
-ssse3:DEFINES += QT_HAVE_SSSE3
-sse4_1:DEFINES += QT_HAVE_SSE4_1
-sse4_2:DEFINES += QT_HAVE_SSE4_2
+sse2:!openbsd-g++ DEFINES += QT_HAVE_SSE2
+sse3:!openbsd-g++ DEFINES += QT_HAVE_SSE3
+ssse3:!openbsd-g++ DEFINES += QT_HAVE_SSSE3
+sse4_1:!openbsd-g++ DEFINES += QT_HAVE_SSE4_1
+sse4_2:!openbsd-g++ DEFINES += QT_HAVE_SSE4_2
avx:DEFINES += QT_HAVE_AVX
iwmmxt:DEFINES += QT_HAVE_IWMMXT