File automake-1.4-p6-perl-5.10.patch of Package automake14

diff -Ndurp automake-1.4-p6/automake.in automake-1.4-p6-perl-5.10/automake.in
--- automake-1.4-p6/automake.in	2002-07-27 23:55:58.000000000 +0300
+++ automake-1.4-p6-perl-5.10/automake.in	2014-10-18 16:07:58.772467352 +0300
@@ -983,7 +983,7 @@ sub finish_languages
 
 	# Compute the function name of the finisher and then call it.
 	$name = 'lang_' . $lang . '_finish';
-	do $name ();
+	do $name;
     }
 
     # If the project is entirely C++ or entirely Fortran 77, don't
@@ -1144,7 +1144,7 @@ sub handle_single_transform_list
 		# Found the language, so see what it says.
 		local ($subr) = 'lang_' . $lang . '_rewrite';
 		# Note: computed subr call.
-		local ($r) = do $subr ($base, $extension);
+		local ($r) = do &$subr ($base, $extension);
 		# Skip this entry if we were asked not to process it.
 		next if ! $r;
openSUSE Build Service is sponsored by