Fix for perl5.

Submitted by:	Yasuhiro Fukuma <yasuf@big.or.jp>
This commit is contained in:
Jun Kuriyama 1999-05-09 03:40:18 +00:00
parent 175346b1a6
commit f90e5198b5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18625
2 changed files with 12 additions and 5 deletions

View File

@ -3,7 +3,7 @@
# Date created: 18 Feb 1998
# Whom: Jun-ichiro itojun Itoh <itojun@itojun.org>
#
# $Id: Makefile,v 1.10 1998/08/18 08:53:30 asami Exp $
# $Id: Makefile,v 1.11 1999/05/07 17:01:52 itojun Exp $
#
DISTNAME= nvi-1.79
@ -14,8 +14,6 @@ MASTER_SITES= ftp://sleepy.vwh.net/pub/ \
MAINTAINER= itojun@itojun.org
BROKEN= original distribution is incompatible with perl5
WRKSRC= ${WRKDIR}/${DISTNAME}/build
GNU_CONFIGURE= yes
USE_PERL5= yes

View File

@ -1,5 +1,14 @@
--- perl_api/perl.xs.orig Thu Feb 19 23:50:23 1998
+++ perl_api/perl.xs Thu Feb 19 23:50:38 1998
--- perl_api/perl.xs.orig Thu Oct 17 03:16:34 1996
+++ perl_api/perl.xs Sun May 9 01:42:05 1999
@@ -142,7 +142,7 @@
perl_call_argv("VI::bootstrap", G_DISCARD, bootargs);
perl_eval("$SIG{__WARN__}='VI::Warn'");
- av_unshift(av = GvAVn(incgv), 1);
+ av_unshift(av = GvAVn(PL_incgv), 1);
av_store(av, 0, newSVpv(_PATH_PERLSCRIPTS,
sizeof(_PATH_PERLSCRIPTS)-1));
@@ -418,7 +418,7 @@
xs_init()
{