<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8c9eef87fcde60e1ac1271186cf016dd8c464fc1">https://github.com/macports/macports-ports/commit/8c9eef87fcde60e1ac1271186cf016dd8c464fc1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8c9eef87fcde60e1ac1271186cf016dd8c464fc1
</span>Author: Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
AuthorDate: Thu Jul 14 10:31:49 2022 +0200
<span style='display:block; white-space:pre;color:#404040;'> rxvt-unicode: update to 9.30 and use perl 5.34
</span>---
x11/rxvt-unicode/Portfile | 29 +++++++++++-----------
x11/rxvt-unicode/files/patch-no-clock_gettime.diff | 18 --------------
x11/rxvt-unicode/files/patch-perl-embed-args.diff | 14 +++++------
3 files changed, 22 insertions(+), 39 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/rxvt-unicode/Portfile b/x11/rxvt-unicode/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 802c76a8ff3..082aa306f2e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/rxvt-unicode/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/rxvt-unicode/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,10 +2,11 @@
</span>
PortSystem 1.0
PortGroup compiler_blacklist_versions 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup perl5 1.0
</span>
name rxvt-unicode
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 9.26
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 9.30
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> categories x11
license GPL-3+
maintainers {gmail.com:emanuele.giaquinta @exg} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,44 +19,44 @@ long_description \
</span> completely flicker-free \
display, support for Xft and core fonts in any \
combination, etc.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> homepage http://software.schmorp.de/pkg/rxvt-unicode.html
master_sites http://dist.schmorp.de/rxvt-unicode/ \
http://dist.schmorp.de/rxvt-unicode/Attic/
use_bzip2 yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 ce20bcda75cadd4a22edf166ce50384080de1b23 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 643116b9a25d29ad29f4890131796d42e6d2d21312282a613ef66c80c5b8c98b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 904950
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 a2201a7ff63283715fe7230e17291b5c12386c1b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 fe1c93d12f385876457a989fc3ae05c0915d2692efc59289d0f70fabe5b44d2d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 877186
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+perl5.major 5.34
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_build \
port:pkgconfig
# urxvt also depends on xorg-libX11, xrender and fontconfig but all these ports are in the dependency tree of Xft2
depends_lib \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libptytty \
</span> port:Xft2 \
port:startup-notification \
port:xorg-libXmu \
port:ncurses \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:perl5.30
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:perl${perl5.major}
</span>
# clang++ 3.0 produces unstable urxvt binary which sometimes causes errors like:
# "terminate called throwing an exceptionAbort trap: 6"
compiler.blacklist {clang < 318}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.perl ${prefix}/bin/perl5.30
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.perl ${perl5.bin}
</span>
patchfiles patch-Makefile.in.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-no-clock_gettime.diff \
</span> patch-perl-embed-args.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[string match *clang* ${configure.cxx}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.ldflags-append -stdlib=${configure.cxx_stdlib}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cxxflags-append -std=c++11
</span>
configure.args --enable-everything \
--enable-256-color \
--with-term=rxvt-unicode-256color \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-utmp \
</span> --disable-pixbuf \
--mandir=${prefix}/share/man
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -69,7 +70,7 @@ variant pixbuf description {gdk-pixbuf support} {
</span> variant lite description {lightweight build options} {
depends_lib-delete port:Xft2 \
port:startup-notification \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:perl5.30
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:perl${perl5.major}
</span> depends_lib-append port:xorg-libX11
configure.args-delete --enable-everything
configure.args-append --disable-everything \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/rxvt-unicode/files/patch-no-clock_gettime.diff b/x11/rxvt-unicode/files/patch-no-clock_gettime.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index ae2d7ba238f..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/rxvt-unicode/files/patch-no-clock_gettime.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,18 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- libev/ev.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ libev/ev.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -4094,6 +4094,7 @@ ev_run (EV_P_ int flags)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- waittime = EV_TS_CONST (MAX_BLOCKTIME);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if EV_USE_MONOTONIC
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (ecb_expect_true (have_monotonic))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #if EV_USE_TIMERFD
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -4107,6 +4108,7 @@ ev_run (EV_P_ int flags)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- waittime = EV_TS_CONST (MAX_BLOCKTIME2);
</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;'>-+#endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (timercnt)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/rxvt-unicode/files/patch-perl-embed-args.diff b/x11/rxvt-unicode/files/patch-perl-embed-args.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 2b0b4c9fa05..2bd22095583 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/rxvt-unicode/files/patch-perl-embed-args.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/rxvt-unicode/files/patch-perl-embed-args.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,15 +1,15 @@
</span> --- src/Makefile.in
+++ src/Makefile.in
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -23,7 +23,7 @@ DEFS = @DEFS@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LIBS = @LIBS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -23,7 +23,7 @@ DEFS = @DEFS@ @PTYTTY_CFLAGS@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBS = @LIBS@ @PTYTTY_LIBS@
</span> XINC = @X_CFLAGS@ @PIXBUF_CFLAGS@ @STARTUP_NOTIFICATION_CFLAGS@
XLIB = @X_LIBS@ -lX11 @X_EXTRA_LIBS@ @PIXBUF_LIBS@ @STARTUP_NOTIFICATION_LIBS@
<span style='display:block; white-space:pre;background:#ffe0e0;'>--COMPILE = $(CXX) -I.. -I$(srcdir) -I. -I$(srcdir)/../libev -I$(srcdir)/../libptytty/src $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(XINC)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+COMPILE = $(CXX) -I.. -I$(srcdir) -I. -I$(srcdir)/../libev -I$(srcdir)/../libptytty/src $(DEFS) $(CPPFLAGS) $(XINC)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-COMPILE = $(CXX) -I.. -I$(srcdir) -I. -I$(srcdir)/../libev $(DEFS) $(CPPFLAGS) $(CXXFLAGS) $(XINC)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++COMPILE = $(CXX) -I.. -I$(srcdir) -I. -I$(srcdir)/../libev $(DEFS) $(CPPFLAGS) $(XINC)
</span> LINK = @LINKER@ $(LDFLAGS)
EXEEXT = @EXEEXT@
PERLFLAGS = @PERLFLAGS@
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -57,7 +57,7 @@ RXVTD_BINNAME=$(DESTDIR)$(bindir)/$(RXVTNAME)d$(EXEEXT)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -58,7 +58,7 @@ RCLOCK_BINNAME=$(DESTDIR)$(bindir)/urclock$(EXEEXT)
</span> #-------------------------------------------------------------------------
# inference rules
.C.o:
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,7 +18,7 @@
</span>
#-------------------------------------------------------------------------
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -139,7 +139,7 @@ rxvtperl.C: rxvtperl.xs iom_perl.h iom_perl.xs typemap typemap.iom
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -142,7 +142,7 @@ rxvtperl.C: rxvtperl.xs iom_perl.h iom_perl.xs typemap typemap.iom
</span> PERL="$(PERL)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap 'typemap.iom' -typemap 'typemap' -prototypes $(srcdir)/rxvtperl.xs >$@
rxvtperl.o: rxvtperl.C perlxsi.c
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,4 +26,4 @@
</span> + $(COMPILE) $(PERLFLAGS) $(CXXFLAGS) -DLIBDIR="\"$(libdir)/urxvt\"" -c $<
depend:
<span style='display:block; white-space:pre;background:#ffe0e0;'>- makedepend -f Makefile.in -I. -I.. -I../libptytty/src -I../libev -Y *.C *.xs >/dev/null 2>&1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ makedepend -f Makefile.in -I. -I.. -I../libev -Y *.C *.xs >/dev/null 2>&1
</span></pre><pre style='margin:0'>
</pre>