<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3bf6cab2eab7cc87e9997ada25881502a11463cd">https://github.com/macports/macports-ports/commit/3bf6cab2eab7cc87e9997ada25881502a11463cd</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 3bf6cab libsdl2: build fix for 10.11
</span>3bf6cab is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 3bf6cab2eab7cc87e9997ada25881502a11463cd
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Tue Jul 30 11:08:58 2019 +1000
<span style='display:block; white-space:pre;color:#404040;'> libsdl2: build fix for 10.11
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/58767
</span>---
devel/libsdl2/Portfile | 3 +++
devel/libsdl2/files/10.11-fix.patch | 14 ++++++++++++++
2 files changed, 17 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libsdl2/Portfile b/devel/libsdl2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e217e92..0862e8e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libsdl2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libsdl2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,6 +25,9 @@ distname ${my_name}-${version}
</span> checksums rmd160 b35818cbf8eaf0c9c4d3b6d7a293c05a368366b2 \
sha256 b4656c13a1f0d0023ae2f4a9cf08ec92fffb464e0f24238337784159b8b91d57
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# use of undeclared identifier 'NSEventSubtypeMouseEvent'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles 10.11-fix.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args --without-x
build.args V=1
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libsdl2/files/10.11-fix.patch b/devel/libsdl2/files/10.11-fix.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..6a562c6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libsdl2/files/10.11-fix.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/video/cocoa/SDL_cocoavideo.h.orig 2019-07-25 14:32:36.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/video/cocoa/SDL_cocoavideo.h 2019-07-30 10:24:28.000000000 +1000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -113,9 +113,8 @@ typedef struct SDL_VideoData
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Utility functions */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ extern NSImage * Cocoa_CreateImage(SDL_Surface * surface);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-/* Fix build with the 10.10 SDK */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if MAC_OS_X_VERSION_MAX_ALLOWED < 101100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define NSEventSubtypeTouch NSTouchEventSubtype
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++/* Fix build with the 10.11 SDK */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if MAC_OS_X_VERSION_MAX_ALLOWED < 101200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define NSEventSubtypeMouseEvent NSMouseEventSubtype
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>