aboutsummaryrefslogtreecommitdiffstats
path: root/devel/autoconf/files
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2002-09-16 18:28:33 +0800
committeralane <alane@FreeBSD.org>2002-09-16 18:28:33 +0800
commitc988d14e99badda82052a95fd03a86dfd11c5051 (patch)
tree6a9425fe3b4225e3497fc34069f853070c651bfc /devel/autoconf/files
parent3e0b17816ed63dfe353fbbef0d228674ec059e26 (diff)
downloadfreebsd-ports-graphics-c988d14e99badda82052a95fd03a86dfd11c5051.tar.gz
freebsd-ports-graphics-c988d14e99badda82052a95fd03a86dfd11c5051.tar.zst
freebsd-ports-graphics-c988d14e99badda82052a95fd03a86dfd11c5051.zip
1. Fixed bug in autoscan. Thanks to Joe Marcus Clarke <marcus@marcuscom.com>
who worked with me and beyond to track this down. 2. Support the emacs autoconf/autotest modes now, for both emacs21 and xemacs21. Other (x)emacsen may work, depends on where they put things.
Diffstat (limited to 'devel/autoconf/files')
-rw-r--r--devel/autoconf/files/patch-bin-autoscan.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/autoconf/files/patch-bin-autoscan.in b/devel/autoconf/files/patch-bin-autoscan.in
new file mode 100644
index 00000000000..68836ffb60b
--- /dev/null
+++ b/devel/autoconf/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);
+ }
+