Bug 146346

Summary: port japanese/a2ps generates a Perl severe error message after upgrading perl from 5.8.x to 5.10.1
Product: Ports & Packages Reporter: kenji.rikitake
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description kenji.rikitake 2010-05-06 07:00:11 UTC
a2ps-j, installed by japanese/a2ps, generates the severe error warning as

$# is no longer supported at ./a2ps-j.orig line 195.

when executed in Perl 5.10.1.

Fix: The portion which issues the warning is for debugging use only.
Since $# is no longer supported by Perl 5.10.1, 
this should be simply removed as in the patch given.



Patch attached with submission follows:
How-To-Repeat: Running a2ps-j installed by japanese/a2ps
Comment 1 dfilter service freebsd_committer 2010-05-09 17:26:19 UTC
nork        2010-05-09 16:26:11 UTC

  FreeBSD ports repository

  Modified files:
    japanese/a2ps        Makefile 
    japanese/a2ps/files  patch-aa 
  Log:
  o Remove debugging use only code by no longer support #$
    on Perl 5.10.  [1]
  o Bump PORTREVISION, accordingly.
  o Maintain MASTER_SITES by removing from IIJ site.
  
  PR:             ports/146346 [1]
  Submitted by:   Kenji Rikitake  kenji.rikitake acm org [1]
  
  Revision  Changes    Path
  1.12      +4 -2      ports/japanese/a2ps/Makefile
  1.5       +12 -2     ports/japanese/a2ps/files/patch-aa
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Norikatsu Shigemura freebsd_committer 2010-05-09 17:26:23 UTC
State Changed
From-To: open->closed

Committed, thanks!