aboutsummaryrefslogtreecommitdiff
path: root/graphics/ogre3d/files
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2014-06-16 18:20:16 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2014-06-16 18:20:16 +0000
commit5014db0fe3fa02014e04ff8cbab9e40feb504eaf (patch)
tree8a331f8a721bab0bccab8e83327298c02628044a /graphics/ogre3d/files
parent202a9b96556d9d918031ce43f8e81dbe8e774a53 (diff)
downloadports-5014db0fe3fa02014e04ff8cbab9e40feb504eaf.tar.gz
ports-5014db0fe3fa02014e04ff8cbab9e40feb504eaf.zip
try to better detect SSE availability
Submitted by: tijl
Notes
Notes: svn path=/head/; revision=358033
Diffstat (limited to 'graphics/ogre3d/files')
-rw-r--r--graphics/ogre3d/files/patch-OgreMain_include_OgrePlatformInformation.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/ogre3d/files/patch-OgreMain_include_OgrePlatformInformation.h b/graphics/ogre3d/files/patch-OgreMain_include_OgrePlatformInformation.h
new file mode 100644
index 000000000000..0be6b6ed43d4
--- /dev/null
+++ b/graphics/ogre3d/files/patch-OgreMain_include_OgrePlatformInformation.h
@@ -0,0 +1,11 @@
+--- OgreMain/include/OgrePlatformInformation.h.orig 2013-12-01 18:28:12.000000000 +0100
++++ OgreMain/include/OgrePlatformInformation.h 2014-06-15 21:59:18.000000000 +0200
+@@ -94,6 +94,7 @@
+ OGRE_PLATFORM != OGRE_PLATFORM_NACL
+ # define __OGRE_HAVE_SSE 1
+ #elif OGRE_DOUBLE_PRECISION == 0 && OGRE_CPU == OGRE_CPU_X86 && (OGRE_COMPILER == OGRE_COMPILER_GNUC || OGRE_COMPILER == OGRE_COMPILER_CLANG) && \
++ defined(__SSE__) && \
+ OGRE_PLATFORM != OGRE_PLATFORM_APPLE_IOS && OGRE_PLATFORM != OGRE_PLATFORM_NACL
+ # define __OGRE_HAVE_SSE 1
+ #endif
+