Skip to content

Commit

Permalink
trying to fix ogre osx ci regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Neumann-A committed Jan 17, 2020
1 parent 728e9bd commit 708d825
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ports/ogre/CONTROL
Original file line number Diff line number Diff line change
@@ -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
Expand Down
13 changes: 13 additions & 0 deletions ports/ogre/osx.patch
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions ports/ogre/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ vcpkg_from_github(
HEAD_REF master
PATCHES
toolchain_fixes.patch
osx.patch
)

file(REMOVE "${SOURCE_PATH}/CMake/Packages/FindOpenEXR.cmake")
Expand Down

0 comments on commit 708d825

Please sign in to comment.