pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files pkgtools/libnbcompat: fix r...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f9476a8fdead
branches: trunk
changeset: 401258:f9476a8fdead
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Sep 13 20:23:50 2019 +0000
description:
pkgtools/libnbcompat: fix regular expression literals in AWK program
gawk: nbcompat.awk:5: warning:
regexp escape sequence `\#' is not a known regexp operator
diffstat:
pkgtools/libnbcompat/files/nbcompat.awk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 537e9b05a27a -r f9476a8fdead pkgtools/libnbcompat/files/nbcompat.awk
--- a/pkgtools/libnbcompat/files/nbcompat.awk Fri Sep 13 20:10:35 2019 +0000
+++ b/pkgtools/libnbcompat/files/nbcompat.awk Fri Sep 13 20:23:50 2019 +0000
@@ -2,14 +2,14 @@
/NBCOMPAT template section follows\./ { process = 0 }
-/^\#[ ]*define[ ]+PACKAGE_.*/ {
+/^#[ ]*define[ ]+PACKAGE_.*/ {
if (process == 1) {
print "/* " $0 " */";
next;
}
}
-/^\#[ ]*define[ ]+/ {
+/^#[ ]*define[ ]+/ {
if (process == 1) {
guard = $0;
sub("^#[ ]*define[ ]+", "", guard);
Home |
Main Index |
Thread Index |
Old Index