pkgsrc/databases/gnats/patches/patch-ae
recht a043abe05f Update to gnats 4.1.0.
Make a overhaul of the package and bring it closer to pkgsrc standards.
Addresses PR 26174 by Hauke Fath.

changes:

This is GNATS 4.1.0, a release that incorporates multiple bug fixes
and enhancements that have been committed to CVS since the release of
GNATS 4.0.  Notable enhancements include:

- Upgrade to autoconf 2.59 generated configure scripts.
- New PR numbers are reported to the client upon new submissions
- Rewrite of install-sid.  Now, rather than editing send-pr, which can
  be installed on a read-only partition, install-sid creates or edits
  user or site configuration files ~/.send-pr.conf or
  /etc/gnats/send-pr.conf.
- Removal of libiberty, old manpages, and old build framework cruft
- Performance enhancements to indexing code
- Various cleanups and bugfixes.  See the ChangeLog files for details.
2005-08-27 22:24:02 +00:00

23 lines
682 B
Text

$NetBSD: patch-ae,v 1.3 2005/08/27 22:24:02 recht Exp $
--- gnats/rmcat.sh.orig 2001-07-30 20:42:04.000000000 +0200
+++ gnats/rmcat.sh
@@ -25,7 +25,8 @@ if [ $# -eq 0 ]; then
exit 1
fi
-GNATS_DB_DIR="`query-pr --print-directory-for-database`"
+QUERY_PR="xBINDIRx/query-pr"
+GNATS_DB_DIR="`$QUERY_PR --print-directory-for-database`"
if [ ! -d "$GNATS_DB_DIR" ]
then
@@ -34,7 +35,7 @@ then
fi
for i in "$@"; do
- if query-pr --list-categories | grep "^${i}:" >/dev/null 2>&1; then
+ if $QUERY_PR --list-categories | grep "^${i}:" >/dev/null 2>&1; then
echo "$prog: category \`$i' is still in the categories file, please remove it."
continue
fi