diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2011-12-12 11:47:14 +0000 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2011-12-12 11:47:14 +0000 |
commit | 0ca5abfa48a307c115daebd6fd04f37ada14a24a (patch) | |
tree | 6c9ec78025283b5a9e15136b9b9de5af5e4cf94e /databases/gnats4 | |
parent | 5b3931a30050b390de8b78c4db1a6aeeb8bf4093 (diff) | |
download | ports-0ca5abfa48a307c115daebd6fd04f37ada14a24a.tar.gz ports-0ca5abfa48a307c115daebd6fd04f37ada14a24a.zip |
Notes
Diffstat (limited to 'databases/gnats4')
-rw-r--r-- | databases/gnats4/Makefile | 2 | ||||
-rw-r--r-- | databases/gnats4/files/patch-gnats__edit-pr.sh | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/databases/gnats4/Makefile b/databases/gnats4/Makefile index c60419217ae9..9de0c88707f0 100644 --- a/databases/gnats4/Makefile +++ b/databases/gnats4/Makefile @@ -7,7 +7,7 @@ PORTNAME= gnats PORTVERSION= 4.1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= gnats diff --git a/databases/gnats4/files/patch-gnats__edit-pr.sh b/databases/gnats4/files/patch-gnats__edit-pr.sh new file mode 100644 index 000000000000..935557ed8a21 --- /dev/null +++ b/databases/gnats4/files/patch-gnats__edit-pr.sh @@ -0,0 +1,11 @@ +--- gnats/edit-pr.sh.orig 2011-12-12 13:42:33.000000000 +0200 ++++ gnats/edit-pr.sh 2011-12-12 13:43:51.000000000 +0200 +@@ -169,7 +169,7 @@ + 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 |