trying to fix ogre osx ci regression

This commit is contained in:
Alexander Neumann 2020-01-17 09:21:16 +01:00
parent 728e9bd483
commit 708d8250d6
3 changed files with 15 additions and 1 deletions

View File

@ -1,5 +1,5 @@
Source: ogre
Version: 1.12.1
Version: 1.12.1-1
Build-Depends: freeimage, freetype, zlib, zziplib
Homepage: https://github.com/OGRECave/ogre
Description: 3D Object-Oriented Graphics Rendering Engine

13
ports/ogre/osx.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/OgreMain/include/OgrePlatform.h b/OgreMain/include/OgrePlatform.h
index 50e396eba..d74dcc8fd 100644
--- a/OgreMain/include/OgrePlatform.h
+++ b/OgreMain/include/OgrePlatform.h
@@ -147,7 +147,7 @@ namespace Ogre {
#elif defined(__EMSCRIPTEN__)
# define OGRE_PLATFORM OGRE_PLATFORM_EMSCRIPTEN
#elif defined( __APPLE_CC__)
-# include "Availability.h"
+# include <Availability.h>
# ifdef __IPHONE_OS_VERSION_MIN_REQUIRED
# define OGRE_PLATFORM OGRE_PLATFORM_APPLE_IOS
# else

View File

@ -12,6 +12,7 @@ vcpkg_from_github(
HEAD_REF master
PATCHES
toolchain_fixes.patch
osx.patch
)
file(REMOVE "${SOURCE_PATH}/CMake/Packages/FindOpenEXR.cmake")