Bug 159903 - japanese/a2ps: a2ps-j generates warning errors for obsolete Perl libraries
Summary: japanese/a2ps: a2ps-j generates warning errors for obsolete Perl libraries
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: 2011-08-19 10:00 UTC by kenji.rikitake
Modified: 2011-09-19 15:00 UTC (History)
0 users

See Also:


Attachments
file.diff (1.70 KB, patch)
2011-08-19 10: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 2011-08-19 10:00:27 UTC
a2ps-j generates the following warning message on Perl 5.14.1:

Legacy library flush.pl will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at /usr/local/bin/a2ps-j, line 212.
Legacy library ctime.pl will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at /usr/local/bin/a2ps-j, line 480.

Fix: Patch attached to get rid of flush.pl and ctime.pl.

Note: ctime.pl behaves differently when TZ is not set, but the library is only used in PostScript %%creationdate value and will not affect the validity of the generated PostScript file. See also Simple.pm of PostScript::Simple (print/p5-PostScript-Simple).



Patch attached with submission follows:
How-To-Repeat: Invoking a2ps-j will always generate the error message to stderr.
Comment 1 dfilter service freebsd_committer 2011-09-19 14:58:25 UTC
tota        2011-09-19 13:58:11 UTC

  FreeBSD ports repository

  Modified files:
    japanese/a2ps        Makefile 
    japanese/a2ps/files  patch-aa 
  Log:
  - Fix patch file not to display error messages with Perl 5.14.1 [1]
  - Bump PORTREVISION, accordingly
  - Maintain MASTER_SITE_LOCAL
  
  PR:             ports/159903 [1]
  Submitted by:   Kenji Rikitake <kenji_DOT_rikitake_AT_acm_DOT_org> [1]
  
  Revision  Changes    Path
  1.13      +5 -6      ports/japanese/a2ps/Makefile
  1.6       +55 -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 TAKATSU Tomonari freebsd_committer 2011-09-19 14:58:39 UTC
State Changed
From-To: open->closed

Committed. Thanks!