<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6fced832f008fa3adba9614fde8948778388dc2d">https://github.com/macports/macports-ports/commit/6fced832f008fa3adba9614fde8948778388dc2d</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 6fced832f00 fluxbox: fix narrowing error on 32bit
</span>6fced832f00 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6fced832f008fa3adba9614fde8948778388dc2d
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Mon Oct 10 13:08:52 2022 -0700
<span style='display:block; white-space:pre;color:#404040;'> fluxbox: fix narrowing error on 32bit
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/65979
</span>---
x11/fluxbox/Portfile | 3 +++
x11/fluxbox/files/patch-ewmh-static-cast.diff | 11 +++++++++++
2 files changed, 14 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/fluxbox/Portfile b/x11/fluxbox/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9f3dbd8813f..deb3088b6ff 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/fluxbox/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/fluxbox/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,6 +38,9 @@ patchfiles patch-Makefile.in.diff
</span> patchfiles-append patch-fbtime-gettime.diff \
patch-fluxbox-remote.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/65979
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-ewmh-static-cast.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args ac_cv_prog_regex_cmd="LC_CTYPE=C sed"
post-destroot {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/fluxbox/files/patch-ewmh-static-cast.diff b/x11/fluxbox/files/patch-ewmh-static-cast.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..c482d300702
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/fluxbox/files/patch-ewmh-static-cast.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/Ewmh.cc.orig 2022-10-10 13:03:55.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/Ewmh.cc 2022-10-10 13:04:33.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -914,7 +914,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * Window Manager.
</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;'>+- long value[2] = {screen.width(), screen.height()};
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ long value[2] = {static_cast<long>(screen.width()), static_cast<long>(screen.height())};
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ screen.rootWindow().changeProperty(m_net->desktop_geometry,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ XA_CARDINAL, 32,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PropModeReplace,
</span></pre><pre style='margin:0'>
</pre>