svn commit: r358033 - head/graphics/ogre3d/files

Oliver Lehmann oliver at FreeBSD.org
Mon Jun 16 18:20:17 UTC 2014


Author: oliver
Date: Mon Jun 16 18:20:16 2014
New Revision: 358033
URL: http://svnweb.freebsd.org/changeset/ports/358033
QAT: https://qat.redports.org/buildarchive/r358033/

Log:
  try to better detect SSE availability
  
  Submitted by:	tijl

Added:
  head/graphics/ogre3d/files/patch-OgreMain_include_OgrePlatformInformation.h   (contents, props changed)

Added: head/graphics/ogre3d/files/patch-OgreMain_include_OgrePlatformInformation.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/ogre3d/files/patch-OgreMain_include_OgrePlatformInformation.h	Mon Jun 16 18:20:16 2014	(r358033)
@@ -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
+


More information about the svn-ports-all mailing list