<pre style='margin:0'>
Mohamed Akram (mohd-akram) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/78b7f0d730067df3207c2488b15dc35026ff8dbf">https://github.com/macports/macports-ports/commit/78b7f0d730067df3207c2488b15dc35026ff8dbf</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 78b7f0d7300 xscreensaver: update to 6.08
</span>78b7f0d7300 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 78b7f0d730067df3207c2488b15dc35026ff8dbf
</span>Author: Mohamed Akram <makr@macports.org>
AuthorDate: Wed May 8 04:26:33 2024 +0400

<span style='display:block; white-space:pre;color:#404040;'>    xscreensaver: update to 6.08
</span>---
 x11/xscreensaver/Portfile                         | 38 +++++++++++++++--------
 x11/xscreensaver/files/patch-driver-subprocs.diff | 13 ++++++++
 2 files changed, 38 insertions(+), 13 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/xscreensaver/Portfile b/x11/xscreensaver/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4546cdb6a69..31ec34c6b25 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/xscreensaver/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/xscreensaver/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,9 +1,10 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 
 PortSystem          1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup           active_variants 1.1
</span> 
 name                xscreensaver
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version             5.43
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version             6.08
</span> revision            0
 categories          x11
 platforms           darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,29 +15,40 @@ long_description    The xscreensaver program waits until the keyboard and \
</span>                     mouse have been idle for a period, and then runs a graphics \
                     demo chosen at random.
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage            http://www.jwz.org/xscreensaver/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage            https://www.jwz.org/xscreensaver
</span> master_sites        ${homepage}
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  cd289aa0c083c517b5e2b525dc07ebfd508cd132 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  158f381d687e8360a6debb0d3af0148d279e853666244f02d628a5a482bce194 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    26973508
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  468c8385b25ec16b85ab5b6b29d06373d40b786d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  5cf52ba525ceecf94b2f2bd63485ebdf318e12fcc0f2adad7d4c106d855e76a3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    19990058
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build       port:pkgconfig port:intltool
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build       port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:intltool \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:gettext
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib         path:lib/pkgconfig/gtk+-2.0.pc:gtk2 port:libglade2 port:xpm port:xorg-libXmu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib         path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:xorg-libXi \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:xorg-libXt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:mesa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:libGLU
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args      --with-gtk --without-motif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.ldflags   -lintl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run         port:font-bh-ttf
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_parallel_build  no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+require_active_variants path:lib/pkgconfig/gtk+-3.0.pc:gtk3 x11
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.env           LC_CTYPE=C
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Fix "No GL visuals" when running in fullscreen
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles          patch-driver-subprocs.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args      --with-app-defaults=${prefix}/share/X11/app-defaults \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    --with-fontdir=${prefix}/share/fonts/TTF
</span> 
 destroot.destdir    install_prefix=${destroot}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    file delete -force ${destroot}/usr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # get it from font-bh-ttf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    delete ${destroot}${prefix}/share/fonts/TTF/luximr.ttf
</span> }
 
 livecheck.type      regex
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url       http://www.jwz.org/xscreensaver/download.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url       https://www.jwz.org/xscreensaver/download.html
</span> livecheck.regex     xscreensaver-(\[0-9\.\]+).tar.gz
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/xscreensaver/files/patch-driver-subprocs.diff b/x11/xscreensaver/files/patch-driver-subprocs.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..7cddcf9400b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/xscreensaver/files/patch-driver-subprocs.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- driver/subprocs.c.orig 2023-02-13 02:39:07
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ driver/subprocs.c      2024-05-08 04:16:10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -721,8 +721,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   if (c != NULL) s = c+1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   while (isdigit(*s)) s++;                        /* skip over dpy number */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   while (*s == '.') s++;                  /* skip over dot */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  if (s[-1] != '.') *s++ = '.';                   /* put on a dot */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-  sprintf(s, "%d", screen_number (screen));     /* put on screen number */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++  if (s[-1] == '.')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    sprintf(s, "%d", screen_number (screen));   /* put on screen number */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   sprintf (nssw, "XSCREENSAVER_WINDOW=0x%lX", (unsigned long) saver_window);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span></pre><pre style='margin:0'>

</pre>