Mon Sep 8 05:13:12 2008 UTC ()
Patch improperly escaped regexp strings in an awk script. Fixes broken
build in -current because of a problem in -current's awk, but is
desirable anyway to avoid un(der)defined behavior.
(dholland)
diff -r1.4 -r1.5 pkgsrc/graphics/barcode/distinfo
diff -r0 -r1.1 pkgsrc/graphics/barcode/patches/patch-ad
--- pkgsrc/graphics/barcode/distinfo 2005/02/24 08:45:03 1.4
+++ pkgsrc/graphics/barcode/distinfo 2008/09/08 05:13:12 1.5
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 08:45:03 agc Exp $
+$NetBSD: distinfo,v 1.5 2008/09/08 05:13:12 dholland Exp $
SHA1 (barcode-0.98.tar.gz) = 15b9598bcaa67bcff1f63309d1a18840b9a12899
RMD160 (barcode-0.98.tar.gz) = 13685a100a151149a83d28a46372cf562fd750ba
@@ -6,3 +6,4 @@
SHA1 (patch-aa) = eb0812ae80a65828a20021ba1e718488899c212d
SHA1 (patch-ab) = 166fce927fdb3ce77600f3fbab3b28faa7c9d340
SHA1 (patch-ac) = 9e0ea49bb4b647d6daeb9666f0546dd0101fb507
+SHA1 (patch-ad) = eebbcda1403794f16e0de01134c2949cf3ec43fa
$NetBSD: patch-ad,v 1.1 2008/09/08 05:13:12 dholland Exp $
--- doc/manpager~ 2001-10-16 10:12:22.000000000 -0400
+++ doc/manpager 2008-09-08 01:09:13.000000000 -0400
@@ -32,20 +32,20 @@ SKIP==1 {next}
# (ARub, Oct 10 2000)
/@b\{/ {
#$0 = gensub(/@b\{([^}]+)\}/, "\\\\fB\\1\\\\fP","g");
- gsub("@b\{","\\fB");
- gsub("\}","\\fP");
+ gsub("@b\\{","\\fB");
+ gsub("\\}","\\fP");
}
/@var\{/ {
#$0 = gensub(/@var\{([^}]+)\}/, "\\\\fI\\1\\\\fP","g");
- gsub("@var\{","\\fB");
- gsub("\}","\\fP");
+ gsub("@var\\{","\\fB");
+ gsub("\\}","\\fP");
}
/@(samp|code|file)\{/ {
#$0 = gensub(/@(samp|code|file)\{([^}]+)\}/, "`\\2'","g");
- gsub("@(samp|code|file)\{","");
- gsub("\}","");
+ gsub("@(samp|code|file)\\{","");
+ gsub("\\}","");
}
@@ -54,8 +54,8 @@ SKIP==1 {next}
}
/@ref\{.*\}/ {
- gsub("@ref\{","");
- gsub("\}","");
+ gsub("@ref\\{","");
+ gsub("\\}","");
}
/@\*/ {