<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8d57ed0105326082b6d4a9f9d99ea92c5e2f0200">https://github.com/macports/macports-ports/commit/8d57ed0105326082b6d4a9f9d99ea92c5e2f0200</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 8d57ed01053 love-0.7, love-0.8: Fix SDL_video.h include path
</span>8d57ed01053 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8d57ed0105326082b6d4a9f9d99ea92c5e2f0200
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Tue May 28 03:15:39 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> love-0.7, love-0.8: Fix SDL_video.h include path
</span>---
devel/love-0.7/Portfile | 6 ++++--
devel/love-0.7/files/SDL.patch | 12 ++++++++++++
devel/love-0.8/Portfile | 8 +++++---
devel/love-0.8/files/SDL.patch | 12 ++++++++++++
4 files changed, 33 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/love-0.7/Portfile b/devel/love-0.7/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 94ed191fbce..ce77b95772d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/love-0.7/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/love-0.7/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup github 1.0
</span> PortGroup select 1.0
github.setup love2d love 0.7.2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> checksums rmd160 7466301ee1fe824a6509157986c8131b288122a6 \
sha256 548de3384fd8611a52955901ede622ee63089807b4148bbfbfe3922d97cded54 \
size 1289152
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -84,6 +84,7 @@ post-extract {
</span>
# DOS to UNIX line endings so we can patch.
reinplace -W ${worksrcpath} "s|\r||g" \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/modules/graphics/opengl/GLee.c \
</span> src/modules/physics/box2d/Source/Common/b2Math.h
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -93,7 +94,8 @@ patchfiles automagic.patch \
</span> freetype.patch \
fused.patch \
LOVE_MACOSX_USE_FRAMEWORKS.patch \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- luaopen_socket_core.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ luaopen_socket_core.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SDL.patch
</span>
pre-configure {
reinplace -E \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/love-0.7/files/SDL.patch b/devel/love-0.7/files/SDL.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..82d3bb50f4a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/love-0.7/files/SDL.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+This version of LÖVE uses SDL 1 not SDL 2.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/modules/graphics/opengl/GLee.c.orig 2024-05-17 04:30:19.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/modules/graphics/opengl/GLee.c 2024-05-28 03:07:11.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -45,7 +45,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if defined(__APPLE__) || defined(__APPLE_CC__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define GLEE_USE_SDL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef GLEE_USE_SDL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #include <SDL2/SDL_video.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #include <SDL/SDL_video.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <CoreFoundation/CFBundle.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/love-0.8/Portfile b/devel/love-0.8/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3d2b502c63f..982d2af950f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/love-0.8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/love-0.8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup github 1.0
</span> PortGroup select 1.0
github.setup love2d love 0.8.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> checksums rmd160 088f25900a8e94d70945a82ce0cc44e491457efe \
sha256 7500a80793ec2b56abb679335a4bf7ffb172f0ac1aea8c47ae498908b386bbcb \
size 1320289
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -82,7 +82,8 @@ post-extract {
</span>
# DOS to UNIX line endings so we can patch.
reinplace -W ${worksrcpath} "s|\r||g" \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- src/libraries/Box2D/Collision/Shapes/b2ChainShape.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/libraries/Box2D/Collision/Shapes/b2ChainShape.h \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ src/modules/graphics/opengl/GLee.c
</span> }
patchfiles automagic.patch \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -92,7 +93,8 @@ patchfiles automagic.patch \
</span> fused.patch \
_GLIBCXX_BEGIN_NAMESPACE.patch \
LOVE_MACOSX_USE_FRAMEWORKS.patch \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- luaopen_socket_core.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ luaopen_socket_core.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SDL.patch
</span>
pre-configure {
reinplace -E \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/love-0.8/files/SDL.patch b/devel/love-0.8/files/SDL.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..82d3bb50f4a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/love-0.8/files/SDL.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+This version of LÖVE uses SDL 1 not SDL 2.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/modules/graphics/opengl/GLee.c.orig 2024-05-17 04:30:19.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/modules/graphics/opengl/GLee.c 2024-05-28 03:07:11.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -45,7 +45,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if defined(__APPLE__) || defined(__APPLE_CC__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define GLEE_USE_SDL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef GLEE_USE_SDL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- #include <SDL2/SDL_video.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ #include <SDL/SDL_video.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <CoreFoundation/CFBundle.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span></pre><pre style='margin:0'>
</pre>