[Webkit-unassigned] [Bug 61890] New: make-hash-tools.pl: Perl 5.14 compatibility

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 1 16:05:46 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=61890

           Summary: make-hash-tools.pl: Perl 5.14 compatibility
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: foutrelis at gmail.com


Created an attachment (id=95682)
 --> (https://bugs.webkit.org/attachment.cgi?id=95682&action=review)
Patch for make-hash-tools.pl to use given/when instead of switch

The make-hash-tools.pl script, executed during the build process, uses the Switch module which has been removed from Perl 5.14.

In Arch Linux, we decided to patch make-hash-tools.pl to use the new given/when keywords available in Perl >= 5.10. I have attached our patch, which is quite trivial. However, you might want to retain compatibility with oder Perl versions, in which case a different patch will be needed (my Perl-fu is weak, and can't make a conditional dependency on either the Switch module or the new given/when syntax).

Other reports of this issue:

Gentoo: http://bugs.gentoo.org/show_bug.cgi?id=364489
FreeBSD: http://www.mail-archive.com/freebsd-ports@freebsd.org/msg33878.html

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list