<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1a8c21cff10adbcfb292b78f680faede8fcc8f3b">https://github.com/macports/macports-ports/commit/1a8c21cff10adbcfb292b78f680faede8fcc8f3b</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 1a8c21cff10 hyprlang: update to 0.5.1, drop patch
</span>1a8c21cff10 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1a8c21cff10adbcfb292b78f680faede8fcc8f3b
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Tue Apr 16 11:19:22 2024 +0800
<span style='display:block; white-space:pre;color:#404040;'> hyprlang: update to 0.5.1, drop patch
</span>---
devel/hyprlang/Portfile | 13 ++++-------
.../0001-config.cpp-fix-environ-for-Apple.patch | 27 ----------------------
2 files changed, 5 insertions(+), 35 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/hyprlang/Portfile b/devel/hyprlang/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 93851e3b966..9f3dd49181c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/hyprlang/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/hyprlang/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup cmake 1.1
</span> PortGroup compiler_blacklist_versions 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup hyprwm hyprlang 0.5.0 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup hyprwm hyprlang 0.5.1 v
</span> revision 0
categories devel
license LGPL-2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,9 +15,9 @@ description The hypr configuration language is an extremely efficient, \
</span> for applications.
long_description {*}${description}
homepage https://hyprland.org/hyprlang
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 5d309779fdf2e9d4037daf69c2569e714e9558e4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c59e705f2c2ff9ea4e2b183fdf0bc20a62b7162604a657d6352716a1fd5061b2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 54809
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 47abca47f88f9d80d968598c445e3ef2040aa8da \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 7f521906d3f40b8d7b2bfcbe29a8286e9c65a7a601994344278bc16325bbd75d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 56237
</span> github.tarball_from archive
# The port requires C++23, and builds either on macOS 13+ with clangs,
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,10 +35,7 @@ github.tarball_from archive
</span> # for systems lacking it. Currently macports-libcxx uses clang-11 headers,
# which is too old. A manual solution would be to switch to libstdc++
# and build everything against it, with gcc13+.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms {darwin < 11} {darwin > 23}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# https://github.com/hyprwm/hyprlang/commit/b3e430f81f3364c5dd1a3cc9995706a4799eb3fa
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append 0001-config.cpp-fix-environ-for-Apple.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms {darwin < 11} {darwin > 21}
</span>
# Requires C++23, but at the moment we need this trickery:
compiler.cxx_standard 2020
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/hyprlang/files/0001-config.cpp-fix-environ-for-Apple.patch b/devel/hyprlang/files/0001-config.cpp-fix-environ-for-Apple.patch
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index cd57f6adea2..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/hyprlang/files/0001-config.cpp-fix-environ-for-Apple.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,27 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From eabd4dcb26710d4b3a1b4ccafcfdb68faeb72460 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From: Sergey Fedorov <vital.had@gmail.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Date: Sun, 24 Mar 2024 10:10:11 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Subject: [PATCH] config.cpp: fix environ for Apple
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- src/config.cpp | 6 ++++++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 1 file changed, 6 insertions(+)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git src/config.cpp src/config.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index dd4a0ce..94c908a 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/config.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/config.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -10,7 +10,13 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <cstring>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- using namespace Hyprlang;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <crt_externs.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#define environ (*_NSGetEnviron())
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extern "C" char** environ;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // defines
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- inline constexpr const char* ANONYMOUS_KEY = "__hyprlang_internal_anonymous_key";
</span></pre><pre style='margin:0'>
</pre>