Bug 146346 - port japanese/a2ps generates a Perl severe error message after upgrading perl from 5.8.x to 5.10.1
Summary: port japanese/a2ps generates a Perl severe error message after upgrading perl...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-06 07:00 UTC by kenji.rikitake
Modified: 2010-05-09 17:30 UTC (History)
0 users

See Also:


Attachments
file.diff (538 bytes, patch)
2010-05-06 07:00 UTC, kenji.rikitake
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 freebsd_triage 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 freebsd_triage 2010-05-09 17:26:23 UTC
State Changed
From-To: open->closed

Committed, thanks!