<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f863d78e64881fec839a55ae9a1c34b642fd2f9f">https://github.com/macports/macports-ports/commit/f863d78e64881fec839a55ae9a1c34b642fd2f9f</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new f863d78e648 ogre: update to 13.2.0
</span>f863d78e648 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit f863d78e64881fec839a55ae9a1c34b642fd2f9f
</span>Author: Kirill A. Korinsky <kirill@korins.ky>
AuthorDate: Mon Nov 29 23:23:06 2021 +0100

<span style='display:block; white-space:pre;color:#404040;'>    ogre: update to 13.2.0
</span>---
 graphics/ogre/Portfile              | 26 ++++++++++++++++++++------
 graphics/ogre/files/old-macos.patch | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+), 6 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/ogre/Portfile b/graphics/ogre/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a2c5448a8a9..72f3fd75d12 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/ogre/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/ogre/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,8 +4,9 @@ PortSystem          1.0
</span> PortGroup           boost 1.0
 PortGroup           cmake 1.1
 PortGroup           github 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup           compiler_blacklist_versions 1.0
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup        OGRECave ogre 13.1.1 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup        OGRECave ogre 13.2.0 v
</span> github.tarball_from archive
 revision            0
 license             MIT
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,18 +26,19 @@ long_description    OGRE (Object-Oriented Graphics Rendering Engine) is a \
</span> 
 homepage            https://www.ogre3d.org/
 platforms           darwin
<span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs     x86_64
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  f0bc5db67c8487ab25afb5f48641fc793460bddc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha1    8a1da39713cfefbe0baa4e39095214781506ff6b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  64e24cc00b94c884988dc1d92b1225abf7553cf2450d0c97cf82deba053eb218 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    91783332
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  d05ec291080c000a7f1796b361dc7e957d420c14 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  1bcac0915116c6fa2435f30a016b0225d146785481c927b70d995ea459de5b6a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    91170226
</span> 
 use_xcode           yes
 
 cmake.build_type    Release
 compiler.cxx_standard \
                     2011
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Extend blacklist to cover macOS10.11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    {clang < 900}
</span> 
 depends_build-append \
                     bin:dot:graphviz \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -52,6 +54,18 @@ depends_lib-append  port:assimp \
</span>                     port:swig \
                     port:zlib
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patch.pre_args      -p1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles          old-macos.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ogre uses NSOpenGLContext.pixelFormat which was added at 10.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 14} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    known_fail      yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        ui_error "$name does not build on Mac OS X 10.9 'Mavericks' or prior."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        error "unsupported platform"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-patch {
     reinplace "s|@rpath|\${prefix}/lib|" ${worksrcpath}/CMake/Utils/OgreConfigTargets.cmake
     reinplace "s|/Release\"|\"|" ${worksrcpath}/CMake/Utils/OgreConfigTargets.cmake
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/ogre/files/old-macos.patch b/graphics/ogre/files/old-macos.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..d87579b361c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/ogre/files/old-macos.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,36 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+commit 5f2e584be1fa2ae417abdf6841a00efae94d0a7e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Author: Kirill A. Korinsky <kirill@korins.ky>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date:   Mon Nov 29 23:21:25 2021 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    fixed build on old macOS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    It allows to build on macOS up to 10.10.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    Anyway, it is uses `NSOpenGLContext.pixelFormat` which was added at
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    10.10 and removing it seems like as a huge and meanless job.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/OgreMain/src/OSX/OgreFileSystemLayer.cpp b/OgreMain/src/OSX/OgreFileSystemLayer.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 2fd372d09..16bc152bd 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/OgreMain/src/OSX/OgreFileSystemLayer.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/OgreMain/src/OSX/OgreFileSystemLayer.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -30,6 +30,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <pwd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <dlfcn.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/stat.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ namespace Ogre
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/RenderSystems/GLSupport/src/OSX/OgreOSXCocoaWindow.mm b/RenderSystems/GLSupport/src/OSX/OgreOSXCocoaWindow.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 6a220f51b..6cab88362 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/RenderSystems/GLSupport/src/OSX/OgreOSXCocoaWindow.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/RenderSystems/GLSupport/src/OSX/OgreOSXCocoaWindow.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -33,6 +33,7 @@ THE SOFTWARE.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #import "OgreGLRenderSystemCommon.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #import "OgreGLNativeSupport.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#import <AppKit/AppKit.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #import <AppKit/NSScreen.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #import <AppKit/NSOpenGLView.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #import <QuartzCore/CVDisplayLink.h>
</span></pre><pre style='margin:0'>

</pre>