Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2018 08:51:37 +0000 (UTC)
From:      Roman Bogorodskiy <novel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488515 - in head/x11/rxvt-unicode: . files
Message-ID:  <201812270851.wBR8pbGT047835@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: novel
Date: Thu Dec 27 08:51:36 2018
New Revision: 488515
URL: https://svnweb.freebsd.org/changeset/ports/488515

Log:
  x11/rxvt-unicode: fix perl_parse() usage
  
  Perl 5.28 added asserts to perl_parse() to check passed arguments, so
  rxvt with perl support fails to start with assertion error when
  DEBUG is enabled. Fix by constructing arguments passed to
  perl_parse() properly, and bump PORTREVISION.
  
  PR:		234294
  Approved by:	thierry (maintainer)

Added:
  head/x11/rxvt-unicode/files/patch-src_rxvtperl.xs   (contents, props changed)
Modified:
  head/x11/rxvt-unicode/Makefile

Modified: head/x11/rxvt-unicode/Makefile
==============================================================================
--- head/x11/rxvt-unicode/Makefile	Thu Dec 27 08:51:32 2018	(r488514)
+++ head/x11/rxvt-unicode/Makefile	Thu Dec 27 08:51:36 2018	(r488515)
@@ -3,6 +3,7 @@
 
 PORTNAME=	rxvt-unicode
 PORTVERSION=	9.22
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	http://dist.schmorp.de/rxvt-unicode/%SUBDIR%/
 MASTER_SITE_SUBDIR=	. Attic

Added: head/x11/rxvt-unicode/files/patch-src_rxvtperl.xs
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/rxvt-unicode/files/patch-src_rxvtperl.xs	Thu Dec 27 08:51:36 2018	(r488515)
@@ -0,0 +1,15 @@
+--- src/rxvtperl.xs.orig	2018-12-23 11:31:59 UTC
++++ src/rxvtperl.xs
+@@ -401,9 +401,10 @@ rxvt_perl_interp::init ()
+           "   unshift @INC, '" LIBDIR "';"
+           "}"
+           ""
+-          "use urxvt;"
++          "use urxvt;",
++          0
+         };
+-        int argc = ecb_array_length (args);
++        int argc = ecb_array_length (args) - 1;
+         char **argv = args;
+ 
+         PERL_SYS_INIT3 (&argc, &argv, &environ);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812270851.wBR8pbGT047835>