Pull up missing "'" from gnats trunk, since netbsd-5 sh(1) trips over

the missing quote -- first half of

2006-06-30  Stephane Chazelas  <Stephane@artesyncp.com>

	* edit-pr.sh: missing quote on line 172 (it's OK for the
	Bourne shell and AT&T ksh based sh, but not other shells), and
	the tr syntax, though POSIX is causing trouble with Solaris
	tr.  Closes: PR#613
This commit is contained in:
hauke 2009-10-08 12:50:32 +00:00
parent c67305c3d5
commit b95365b093
3 changed files with 17 additions and 6 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.30 2007/07/04 20:54:34 jlam Exp $
# $NetBSD: Makefile,v 1.31 2009/10/08 12:51:31 hauke Exp $
DISTNAME= gnats-4.1.0
PKGREVISION= 2
PKGREVISION= 3
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GNU:=gnats/}

View file

@ -1,10 +1,8 @@
$NetBSD: distinfo,v 1.8 2005/08/28 12:36:42 recht Exp $
$NetBSD: distinfo,v 1.9 2009/10/08 12:50:32 hauke Exp $
SHA1 (gnats-4.1.0.tar.gz) = 7f8ce7fbb7594698c5ba71421cad3cbc7e079003
RMD160 (gnats-4.1.0.tar.gz) = b16bfa3ffa4f1c7dc351d1c5639061c358c64afd
Size (gnats-4.1.0.tar.gz) = 1221364 bytes
SHA1 (patch-aa) = 46ee888dd1726d7c7178247dd8c11c3bc8790911
SHA1 (patch-ab) = 605e0caaed659405fff46af6c610d52c9dca948e
SHA1 (patch-ac) = f6fdd1c2353961d47bd0e58866b56ac6f0d6173a
SHA1 (patch-ad) = ffacd88288036eb74eccd6687292c5a456e2f027
SHA1 (patch-ae) = ff99ebd3f6d2d1aa75b32ead56db0082eeb69753
SHA1 (patch-ah) = 0923289389f0e8c8e7f01a57ef8c2ecb1238bc5f

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ah,v 1.1 2009/10/08 12:50:33 hauke Exp $
--- edit-pr.sh.orig 2002-05-26 17:32:02.000000000 +0200
+++ edit-pr.sh
@@ -169,7 +169,7 @@ do
type="`$QUERY_PR --field-type $field`"
case $type in
[Ee][Nn][Uu][Mm])
- values=`$QUERY_PR --valid-values $field | tr '\n' ' ' | sed 's/ *$//g; s/ / | /g;s/^/[ /;s/$/ ]/;`
+ values=`$QUERY_PR --valid-values $field | tr '\n' ' ' | sed 's/ *$//g; s/ / | /g;s/^/[ /;s/$/ ]/;'`
valslen=`echo "$values" | wc -c`
if [ "$valslen" -gt 160 ]
then