Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/952d2a524cc86c96d3a429ba0b39675d2bd3569b
...commit
http://git.netsurf-browser.org/netsurf.git/commit/952d2a524cc86c96d3a429ba0b39675d2bd3569b
...tree
http://git.netsurf-browser.org/netsurf.git/tree/952d2a524cc86c96d3a429ba0b39675d2bd3569b
The branch, master has been updated
via 952d2a524cc86c96d3a429ba0b39675d2bd3569b (commit)
from 2d58372ec2946ae47e2370341e3b8607c069c528 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=952d2a524cc86c96d3a429ba0b39675d2bd3569b
commit 952d2a524cc86c96d3a429ba0b39675d2bd3569b
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>
linktrace-to-depfile: Support alternative linker trace formatting (for
openbsd)
Signed-off-by: Daniel Silverstone <[email protected]>
diff --git a/tools/linktrace-to-depfile.pl b/tools/linktrace-to-depfile.pl
index 8607baa..9c90af3 100644
--- a/tools/linktrace-to-depfile.pl
+++ b/tools/linktrace-to-depfile.pl
@@ -7,8 +7,9 @@ my %deps;
while (my $line = <>) {
chomp $line;
- if ($line =~ /\(([^)]+)/) {
- $deps{abs_path($1)} = 1;
+ $line =~ s/[()]/ /g;
+ for my $word (split(/\s+/, $line)) {
+ $deps{abs_path($word)} = 1 if ($word =~ /\.a$/);
}
}
-----------------------------------------------------------------------
Summary of changes:
tools/linktrace-to-depfile.pl | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tools/linktrace-to-depfile.pl b/tools/linktrace-to-depfile.pl
index 8607baa..9c90af3 100644
--- a/tools/linktrace-to-depfile.pl
+++ b/tools/linktrace-to-depfile.pl
@@ -7,8 +7,9 @@ my %deps;
while (my $line = <>) {
chomp $line;
- if ($line =~ /\(([^)]+)/) {
- $deps{abs_path($1)} = 1;
+ $line =~ s/[()]/ /g;
+ for my $word (split(/\s+/, $line)) {
+ $deps{abs_path($word)} = 1 if ($word =~ /\.a$/);
}
}
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]