aboutsummaryrefslogtreecommitdiff
path: root/devel/autoconf267/files/patch-bin-autoscan.in
diff options
context:
space:
mode:
Diffstat (limited to 'devel/autoconf267/files/patch-bin-autoscan.in')
-rw-r--r--devel/autoconf267/files/patch-bin-autoscan.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/autoconf267/files/patch-bin-autoscan.in b/devel/autoconf267/files/patch-bin-autoscan.in
new file mode 100644
index 000000000000..68836ffb60bc
--- /dev/null
+++ b/devel/autoconf267/files/patch-bin-autoscan.in
@@ -0,0 +1,15 @@
+--- bin/autoscan.in.orig Fri Mar 8 06:52:41 2002
++++ bin/autoscan.in Mon Sep 16 03:56:50 2002
+@@ -192,7 +192,11 @@
+ sub used ($$;$)
+ {
+ my ($kind, $word, $where) = @_;
+- $where ||= "$File::Find::name:$.";
++ my $lineno = 0;
++ if (defined($.)) {
++ $lineno = $.;
++ }
++ $where ||= "$File::Find::name:$lineno";
+ push (@{$used{$kind}{$word}}, $where);
+ }
+