Date: Tue, 12 Feb 2002 11:10:02 -0800 (PST) From: parv <parv_@yahoo.com> To: freebsd-ports@FreeBSD.org Subject: Re: ports/34867: muttprint port doesn't work with perl < 5.6 Message-ID: <200202121910.g1CJA2985167@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/34867; it has been noted by GNATS. From: parv <parv_@yahoo.com> To: Alan Eldridge <ports@geeksrus.net> Cc: FreeBSD-gnats-submit@freebsd.org, dwcjr@freebsd.org, obraun@informatik.unibw-muenchen.de Subject: Re: ports/34867: muttprint port doesn't work with perl < 5.6 Date: Tue, 12 Feb 2002 04:51:42 -0500 in message <200202120742.g1C7gZf59864@wwweasel.geeksrus.net>, wrote Alan Eldridge thusly... > > > >Number: 34867 > >Category: ports > >Synopsis: muttprint port doesn't work with perl < 5.6 ... > Muttprint does a "use warnings;", which doesn't work on perl < 5.6. ... > Index: print/muttprint/files/patch-ab > =================================================================== > RCS file: /home/alane/cvsroot/ports/print/muttprint/files/patch-ab,v > retrieving revision 1.1 > diff -u -3 -r1.1 patch-ab > --- print/muttprint/files/patch-ab 12 Feb 2002 04:18:19 -0000 1.1 > +++ print/muttprint/files/patch-ab 12 Feb 2002 06:49:17 -0000 > @@ -1,5 +1,14 @@ > ---- muttprint.orig Fri Jan 4 15:04:45 2002 > -+++ muttprint Fri Jan 4 15:05:31 2002 > +--- muttprint.orig Sat Dec 15 08:49:39 2001 > ++++ muttprint Tue Feb 12 01:48:40 2002 > +@@ -34,7 +34,7 @@ > + # Deklaration erzwingen > + use strict; > + # for developing and testing only > +-use warnings; > ++#use warnings; > + # Deklaration nach Perl-5.005-Art > + use vars qw($VERSION %String $LPack $charset); > + use sigtrap qw(die INT QUIT); > @@ -158,8 +158,8 @@ if "use warnings;" can't be used, then how about just using the "-w" switch (on the shebang line: "#!/usr/bin/perl -w") ? as far as i know, perl 5.6 supports both the "warnings" pragma and the switch. - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202121910.g1CJA2985167>