diff options
author | kim <kim@pkgsrc.org> | 1999-09-18 14:52:24 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 1999-09-18 14:52:24 +0000 |
commit | 9a130146a644ee922d00d8d5763f5ab7f399501f (patch) | |
tree | 1d99707ecd673542d1996a50dda32821fd6fc3d7 /archivers | |
parent | 2fdd9baf8b40de6d7a5d9f29be81e2abcd953635 (diff) | |
download | pkgsrc-9a130146a644ee922d00d8d5763f5ab7f399501f.tar.gz |
Copied from patch-ac,v
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/gtar-base/patches/patch-ac | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/archivers/gtar-base/patches/patch-ac b/archivers/gtar-base/patches/patch-ac new file mode 100644 index 00000000000..4fb8caa8f49 --- /dev/null +++ b/archivers/gtar-base/patches/patch-ac @@ -0,0 +1,30 @@ +$NetBSD: patch-ac,v 1.2 1999/09/18 14:52:24 kim Exp $ + +--- intl/xopen-msg.sed.orig Mon Apr 7 00:28:52 1997 ++++ intl/xopen-msg.sed Fri Aug 14 19:18:49 1998 +@@ -81,6 +81,8 @@ + G + s/^[^\n]*$/& / + s/\(.*\)\n\([0-9]*\)/\2 \1/ ++# Change escaped quotes into regular quotes. ++ s/\\*"/"/g + # Clear flag from last substitution. + tb + # Append the next line. +@@ -90,12 +92,16 @@ + s/\(.*\n\)"\(.*\)"/\1\2/ + # Yes, then branch. + ta ++# Comment out if no message exists. ++ s/^\([0-9]* *\n\)/$ \1/ + P + D + # Note that `D' includes a jump to the start!! + # We found a continuation line. But before printing insert '\'. + :a + s/\(.*\)\(\n.*\)/\1\\\2/ ++# Change escaped quotes into regular quotes. ++ s/\\*"/"/g + P + # We cannot use the sed command `D' here + s/.*\n\(.*\)/\1/ |