summaryrefslogtreecommitdiffstats
path: root/devel/autoconf26/files/patch-bin-autoscan.in
diff options
context:
space:
mode:
Diffstat (limited to 'devel/autoconf26/files/patch-bin-autoscan.in')
-rw-r--r--devel/autoconf26/files/patch-bin-autoscan.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/autoconf26/files/patch-bin-autoscan.in b/devel/autoconf26/files/patch-bin-autoscan.in
new file mode 100644
index 0000000..68836ff
--- /dev/null
+++ b/devel/autoconf26/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);
+ }
+
OpenPOWER on IntegriCloud