diff options
author | tron <tron> | 2013-08-14 12:45:40 +0000 |
---|---|---|
committer | tron <tron> | 2013-08-14 12:45:40 +0000 |
commit | b7d94c439e2060e090893e4db6770a47495c544c (patch) | |
tree | 0c9b79e241e9ba13c7f6456b00a54dc2742eb691 | |
parent | a68a7457b54d93b56926d92f4d76daae3cf3cdc2 (diff) | |
download | pkgsrc-b7d94c439e2060e090893e4db6770a47495c544c.tar.gz |
Pullup ticket #4211 - requested by schmonz
www/cvsweb: Perl compatibility patch
Revisions pulled up:
- www/cvsweb/Makefile 1.40
- www/cvsweb/distinfo 1.17
- www/cvsweb/patches/patch-cvsweb.cgi 1.1
---
Module Name: pkgsrc
Committed By: tez
Date: Tue Jul 30 13:01:11 UTC 2013
Modified Files:
pkgsrc/www/cvsweb: Makefile distinfo
Added Files:
pkgsrc/www/cvsweb/patches: patch-cvsweb.cgi
Log Message:
Fix warnings from newer perl versions
-rw-r--r-- | www/cvsweb/Makefile | 4 | ||||
-rw-r--r-- | www/cvsweb/distinfo | 3 | ||||
-rw-r--r-- | www/cvsweb/patches/patch-cvsweb.cgi | 24 |
3 files changed, 28 insertions, 3 deletions
diff --git a/www/cvsweb/Makefile b/www/cvsweb/Makefile index 71e39d73259..240c853d35f 100644 --- a/www/cvsweb/Makefile +++ b/www/cvsweb/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.39 2013/05/31 12:42:31 wiz Exp $ +# $NetBSD: Makefile,v 1.39.2.1 2013/08/14 12:45:40 tron Exp $ # DISTNAME= cvsweb-3.0.6 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= www MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/scop/ diff --git a/www/cvsweb/distinfo b/www/cvsweb/distinfo index 14f9130239e..fb90b2b4b50 100644 --- a/www/cvsweb/distinfo +++ b/www/cvsweb/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.16 2006/09/06 19:24:11 adrianp Exp $ +$NetBSD: distinfo,v 1.16.60.1 2013/08/14 12:45:40 tron Exp $ SHA1 (cvsweb-3.0.6.tar.gz) = 6a9c9d2cc120bc0f0b3c2652a06f587bce8845a8 RMD160 (cvsweb-3.0.6.tar.gz) = e933c3814ea52c7fb9cec65e088c9ab778da2fee Size (cvsweb-3.0.6.tar.gz) = 72484 bytes +SHA1 (patch-cvsweb.cgi) = 8808dbc9d42539b22225b6fcc3502c2eebab5140 diff --git a/www/cvsweb/patches/patch-cvsweb.cgi b/www/cvsweb/patches/patch-cvsweb.cgi new file mode 100644 index 00000000000..606032c2622 --- /dev/null +++ b/www/cvsweb/patches/patch-cvsweb.cgi @@ -0,0 +1,24 @@ +$NetBSD: patch-cvsweb.cgi,v 1.1.2.2 2013/08/14 12:45:40 tron Exp $ + +Fix warnings from newer perl versions + +--- cvsweb.cgi.orig 2013-07-30 12:49:33.268655300 +0000 ++++ cvsweb.cgi +@@ -1192,7 +1192,7 @@ EOF + <legend>General options</legend> + <input type="hidden" name="copt" value="1" /> + EOF +- for my $v qw(hidecvsroot hidenonreadable) { ++ for my $v (qw(hidecvsroot hidenonreadable)) { + printf(qq{<input type="hidden" name="%s" value="%s" />\n}, + $v, $input{$v} || 0); + } +@@ -2951,7 +2951,7 @@ sub printLog($$$;$$) + print "<br />\n"; + + print '<i>'; +- if (defined @mytz) { ++ if (@mytz) { + my ($est) = $mytz[(localtime($date{$_}))[8]]; + print scalar localtime($date{$_}), " $est</i> ("; + } else { |