Martin Costabel wrote:
Robert T Wyatt wrote:
I just updated fink and began getting this message (on MacOS 10.3.9):

* fink scanpackages began: Thu Feb 23 21:58:39 CST 2006
Use of uninitialized value in pattern match (m//) at /sw/lib/perl5/Fink/VirtPackage.pm line 1471.

What version of fink-the-program?
What is that line 1471?



Oops! Sorry about that: 24.99.cvs And now that I updated my 10.4.5 machine it gives the same "Use of uninitialized value" message.

with sudo pico +1471 /sw/lib/perl5/Fink/VirtPackage.pm

I wind up at:

        if (not defined $revision and $revision !~ /\d/) {

Here's the context:

sub gen_gcc_hash {
        my $package = shift;
        my $version = shift;
        my $build   = shift;
        my $is_64bit = shift;
        my $status = shift;
        $is_64bit = $is_64bit ? ' 64-bit' : '';

        my $revision = $build;
        if (not defined $revision and $revision !~ /\d/) {
                $revision = 0;
                $revision = 1 if ($status eq STATUS_PRESENT);
        }

        my $return = {
                package          => $package,
                version          => $version . '-' . $revision,
description => "[virtual package representing the$is_64bit gcc $version compiler]", homepage => 'http://fink.sourceforge.net/faq/comp-general.php#gcc2',
                builddependsonly => 'true',
                descdetail       => <<END,
This package represents the$is_64bit gcc $version compiler,
which is part of the Apple developer tools (also known as



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to