diff options
author | hauke <hauke@pkgsrc.org> | 2009-10-08 12:50:32 +0000 |
---|---|---|
committer | hauke <hauke@pkgsrc.org> | 2009-10-08 12:50:32 +0000 |
commit | a13d5d7f585007cae186402e4abb66d7382883c4 (patch) | |
tree | 54b066a51f2e285ee28958b972583c966f41badf /databases | |
parent | 0a5c95e8c22cf28712555b768f3b9a3d53a701a0 (diff) | |
download | pkgsrc-a13d5d7f585007cae186402e4abb66d7382883c4.tar.gz |
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
Diffstat (limited to 'databases')
-rw-r--r-- | databases/gnats/Makefile | 4 | ||||
-rw-r--r-- | databases/gnats/distinfo | 6 | ||||
-rw-r--r-- | databases/gnats/patches/patch-ah | 13 |
3 files changed, 17 insertions, 6 deletions
diff --git a/databases/gnats/Makefile b/databases/gnats/Makefile index 610cb00555e..d0b675c0765 100644 --- a/databases/gnats/Makefile +++ b/databases/gnats/Makefile @@ -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/} diff --git a/databases/gnats/distinfo b/databases/gnats/distinfo index cbeeb309550..1c73aea5e00 100644 --- a/databases/gnats/distinfo +++ b/databases/gnats/distinfo @@ -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 diff --git a/databases/gnats/patches/patch-ah b/databases/gnats/patches/patch-ah new file mode 100644 index 00000000000..a7d715bb18b --- /dev/null +++ b/databases/gnats/patches/patch-ah @@ -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 |