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)
Depends on:
Reported: 2010-05-06 07:00 UTC by kenji.rikitake
Modified: 2010-05-09 17:30 UTC (History)
0 users

See Also:

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 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 
  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
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!