patch recent autoupdate, as we're not using gnu-m4.

(so it works).

okay pvalchev@.
This commit is contained in:
espie 2004-08-18 23:43:38 +00:00
parent 041609bb0e
commit 78772b09fa
5 changed files with 120 additions and 0 deletions

View File

@ -0,0 +1,24 @@
$OpenBSD: patch-bin_autoupdate_in,v 1.1 2004/08/18 23:43:38 espie Exp $
--- bin/autoupdate.in.orig Thu Aug 19 00:57:16 2004
+++ bin/autoupdate.in Thu Aug 19 00:59:21 2004
@@ -44,6 +44,7 @@ my @include = ('@datadir@');
my $force = 0;
# m4.
my $m4 = $ENV{"M4"} || "@M4@";
+$m4.=" -g -D__gnu__";
# $HELP
@@ -386,9 +387,9 @@ EOF
or error "cannot close $tmp/input.m4: $!";
# Now ask m4 to perform the update.
- xsystem ("$m4 --include=$tmp"
- . join (' --include=', '', reverse (@prepend_include))
- . join (' --include=', '', @include)
+ xsystem ("$m4 -I$tmp"
+ . join (' -I', '', reverse (@prepend_include))
+ . join (' -I', '', @include)
. " $tmp/input.m4 >$tmp/updated");
update_file ("$tmp/updated",
"$file" eq "$tmp/stdin" ? '-' : "$file");

View File

@ -0,0 +1,24 @@
$OpenBSD: patch-bin_autoupdate_in,v 1.1 2004/08/18 23:43:39 espie Exp $
--- bin/autoupdate.in.orig Fri Oct 25 10:15:13 2002
+++ bin/autoupdate.in Thu Aug 19 01:01:07 2004
@@ -44,6 +44,7 @@ my @include = ('@datadir@');
my $force = 0;
# m4.
my $m4 = $ENV{"M4"} || "@M4@";
+$m4.=" -g -D__gnu__";
# $HELP
@@ -388,9 +389,9 @@ EOF
or error "cannot close $tmp/input.m4: $!";
# Now ask m4 to perform the update.
- xsystem ("$m4 --include=$tmp"
- . join (' --include=', '', reverse (@prepend_include))
- . join (' --include=', '', @include)
+ xsystem ("$m4 -I$tmp"
+ . join (' -I', '', reverse (@prepend_include))
+ . join (' -I', '', @include)
. " $tmp/input.m4 >$tmp/updated");
update_file ("$tmp/updated",
"$file" eq "$tmp/stdin" ? '-' : "$file");

View File

@ -0,0 +1,24 @@
$OpenBSD: patch-bin_autoupdate_in,v 1.1 2004/08/18 23:43:39 espie Exp $
--- bin/autoupdate.in.orig Fri Oct 25 10:24:16 2002
+++ bin/autoupdate.in Thu Aug 19 01:01:16 2004
@@ -44,6 +44,7 @@ my @include = ('@datadir@');
my $force = 0;
# m4.
my $m4 = $ENV{"M4"} || "@M4@";
+$m4.=" -g -D__gnu__";
# $HELP
@@ -388,9 +389,9 @@ EOF
or error "cannot close $tmp/input.m4: $!";
# Now ask m4 to perform the update.
- xsystem ("$m4 --include=$tmp"
- . join (' --include=', '', reverse (@prepend_include))
- . join (' --include=', '', @include)
+ xsystem ("$m4 -I$tmp"
+ . join (' -I', '', reverse (@prepend_include))
+ . join (' -I', '', @include)
. " $tmp/input.m4 >$tmp/updated");
update_file ("$tmp/updated",
"$file" eq "$tmp/stdin" ? '-' : "$file");

View File

@ -0,0 +1,24 @@
$OpenBSD: patch-bin_autoupdate_in,v 1.1 2004/08/18 23:43:39 espie Exp $
--- bin/autoupdate.in.orig Wed Aug 27 13:26:32 2003
+++ bin/autoupdate.in Thu Aug 19 01:03:43 2004
@@ -55,6 +55,7 @@ my @include = ('@datadir@');
my $force = 0;
# m4.
my $m4 = $ENV{"M4"} || '@M4@';
+$m4.=" -g -D__gnu__";
# $HELP
@@ -397,9 +398,9 @@ EOF
or error "cannot close $tmp/input.m4: $!";
# Now ask m4 to perform the update.
- xsystem ("$m4 --include=$tmp"
- . join (' --include=', '', reverse (@prepend_include))
- . join (' --include=', '', @include)
+ xsystem ("$m4 -I$tmp"
+ . join (' -I', '', reverse (@prepend_include))
+ . join (' -I', '', @include)
. " $tmp/input.m4 >$tmp/updated");
update_file ("$tmp/updated",
"$file" eq "$tmp/stdin" ? '-' : "$file");

View File

@ -0,0 +1,24 @@
$OpenBSD: patch-bin_autoupdate_in,v 1.1 2004/08/18 23:43:39 espie Exp $
--- bin/autoupdate.in.orig Wed Aug 27 13:26:32 2003
+++ bin/autoupdate.in Thu Aug 19 01:04:38 2004
@@ -55,6 +55,7 @@ my @include = ('@datadir@');
my $force = 0;
# m4.
my $m4 = $ENV{"M4"} || '@M4@';
+$m4.=" -g -D__gnu__";
# $HELP
@@ -397,9 +398,9 @@ EOF
or error "cannot close $tmp/input.m4: $!";
# Now ask m4 to perform the update.
- xsystem ("$m4 --include=$tmp"
- . join (' --include=', '', reverse (@prepend_include))
- . join (' --include=', '', @include)
+ xsystem ("$m4 -I$tmp"
+ . join (' -I', '', reverse (@prepend_include))
+ . join (' -I', '', @include)
. " $tmp/input.m4 >$tmp/updated");
update_file ("$tmp/updated",
"$file" eq "$tmp/stdin" ? '-' : "$file");