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/bf7580555c90
branches: trunk
changeset: 339667:bf7580555c90
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 a37077fa9e8a -r bf7580555c90 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