diff options
author | dholland <dholland@pkgsrc.org> | 2008-09-08 05:13:12 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2008-09-08 05:13:12 +0000 |
commit | 1ab37c961c09b781d3d087b5e7f6c3e2ee5432f0 (patch) | |
tree | e7d07124f3872081b3c391277000d88735bec48a /graphics/barcode | |
parent | ecefa4acd6d21fb95e36d87a821a9d6c100cbd83 (diff) | |
download | pkgsrc-1ab37c961c09b781d3d087b5e7f6c3e2ee5432f0.tar.gz |
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.
Diffstat (limited to 'graphics/barcode')
-rw-r--r-- | graphics/barcode/distinfo | 3 | ||||
-rw-r--r-- | graphics/barcode/patches/patch-ad | 42 |
2 files changed, 44 insertions, 1 deletions
diff --git a/graphics/barcode/distinfo b/graphics/barcode/distinfo index 0b489b2503f..8cab1c511d2 100644 --- a/graphics/barcode/distinfo +++ b/graphics/barcode/distinfo @@ -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 @@ Size (barcode-0.98.tar.gz) = 335658 bytes SHA1 (patch-aa) = eb0812ae80a65828a20021ba1e718488899c212d SHA1 (patch-ab) = 166fce927fdb3ce77600f3fbab3b28faa7c9d340 SHA1 (patch-ac) = 9e0ea49bb4b647d6daeb9666f0546dd0101fb507 +SHA1 (patch-ad) = eebbcda1403794f16e0de01134c2949cf3ec43fa diff --git a/graphics/barcode/patches/patch-ad b/graphics/barcode/patches/patch-ad new file mode 100644 index 00000000000..ad69453e4ee --- /dev/null +++ b/graphics/barcode/patches/patch-ad @@ -0,0 +1,42 @@ +$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("\\}",""); + } + + /@\*/ { |