Bug 191730 - lang/p5-Switch: broken after p5-Filter is upgraded to 1.50
Summary: lang/p5-Switch: broken after p5-Filter is upgraded to 1.50
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Anton Berezin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-08 05:40 UTC by Ting-Wei Lan
Modified: 2014-08-01 12:55 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ting-Wei Lan 2014-07-08 05:40:45 UTC
After upgrading to p5-Filter 1.50, use Switch causes error:
Can't call method "filter" on unblessed reference

I manually upgrade p5-Switch to 1.27 and apply patch from the following bug report to fix the problem.
https://rt.cpan.org/Public/Bug/Display.html?id=96736
Comment 1 Ting-Wei Lan 2014-07-08 06:01:54 UTC
(In reply to Ting-Wei Lan from comment #0)
> After upgrading to p5-Filter 1.50, use Switch causes error:
> Can't call method "filter" on unblessed reference
> 
> I manually upgrade p5-Switch to 1.27 and apply patch from the following bug
> report to fix the problem.
> https://rt.cpan.org/Public/Bug/Display.html?id=96736

Sorry, it should be p5-Switch 2.17.
Comment 2 garrych 2014-07-09 06:29:30 UTC
I confirm that applying mentioned patch resolves the problem with unblessed reference.
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-08-01 12:51:32 UTC
A commit references this bug:

Author: tobez
Date: Fri Aug  1 12:51:24 UTC 2014
New revision: 363704
URL: http://svnweb.freebsd.org/changeset/ports/363704

Log:
  Update to 2.17 and
  apply a patch to fix interaction with modern Filter.pm.

  PR:			191730
  Submitted by:	Ting-Wei Lan

Changes:
  head/lang/p5-Switch/Makefile
  head/lang/p5-Switch/distinfo
  head/lang/p5-Switch/files/
  head/lang/p5-Switch/files/patch-Switch.pm