Update of /cvsroot/fink/fink/perlmod/Fink
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27848

Modified Files:
      Tag: branch_0_24
        ChangeLog Services.pm 
Log Message:
Repair dumpinfo under perl 5.6 (thanks to Martin Costabel for the fix)


Index: Services.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Services.pm,v
retrieving revision 1.152
retrieving revision 1.152.2.1
diff -u -d -r1.152 -r1.152.2.1
--- Services.pm 9 Feb 2005 15:56:04 -0000       1.152
+++ Services.pm 28 Feb 2005 16:35:52 -0000      1.152.2.1
@@ -870,9 +870,14 @@
 
 =cut
 
+sub my_version_cmp {
+        version_cmp($a,"<=>",$b)
+               }
+
 sub sort_versions {
-       sort { version_cmp($a,"<=>",$b) } @_;
-}      
+       sort my_version_cmp @_;
+}
+
 
 =item parse_fullversion
 

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v
retrieving revision 1.873.2.5
retrieving revision 1.873.2.6
diff -u -d -r1.873.2.5 -r1.873.2.6
--- ChangeLog   28 Feb 2005 04:15:50 -0000      1.873.2.5
+++ ChangeLog   28 Feb 2005 16:35:52 -0000      1.873.2.6
@@ -1,3 +1,8 @@
+2005-02-28  Dave Morrison  <[EMAIL PROTECTED]>
+
+       * Services.pm: Repair dumpinfo under perl 5.6 (thanks to Martin 
+       Costabel for the fix)
+
 2005-02-27  Dave Morrison  <[EMAIL PROTECTED]>
 
        * Engine.pm: Enable BuildConflicts when running "fink install" (not



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to