pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/barcode Patch improperly escaped regexp strin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/70e33f571dd2
branches:  trunk
changeset: 546812:70e33f571dd2
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Mon Sep 08 05:13:12 2008 +0000

description:
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:

 graphics/barcode/distinfo         |   3 +-
 graphics/barcode/patches/patch-ad |  42 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 1 deletions(-)

diffs (60 lines):

diff -r aac09a8285cb -r 70e33f571dd2 graphics/barcode/distinfo
--- a/graphics/barcode/distinfo Mon Sep 08 03:27:28 2008 +0000
+++ b/graphics/barcode/distinfo Mon Sep 08 05:13:12 2008 +0000
@@ -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
diff -r aac09a8285cb -r 70e33f571dd2 graphics/barcode/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/barcode/patches/patch-ad Mon Sep 08 05:13:12 2008 +0000
@@ -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("\\}","");
+ }
+ 
+ /@\*/ {



Home | Main Index | Thread Index | Old Index