ports/159947: [patch] databases/gnats4 set default index type to plain
Olli Hauer
ohauer at FreeBSD.org
Sat Aug 20 21:00:27 UTC 2011
>Number: 159947
>Category: ports
>Synopsis: [patch] databases/gnats4 set default index type to plain
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 20 21:00:25 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Olli Hauer
>Release:
>Organization:
>Environment:
>Description:
gnats4 will core dump on a cvsup'd gnats index with default settings.
The following patch will fix this.
A local gnats mirror is often the only way to rip out patches in a
format which is usefull for further PR handling / patching, so it will be
nice if the default database type does match the upstream (gnats-freebsd).
Maybe this trivial fix helps even others to move from gnats to gnats4
>How-To-Repeat:
>Fix:
--- gnats4.diff begins here ---
Index: gnats4/files/patch-gnats__dbconfig.in
===================================================================
RCS file: gnats4/files/patch-gnats__dbconfig.in
diff -N gnats4/files/patch-gnats__dbconfig.in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ gnats4/files/patch-gnats__dbconfig.in 20 Aug 2011 20:42:12 -0000
@@ -0,0 +1,12 @@
+--- ./gnats/dbconfig.in.orig 2002-10-31 21:28:52.000000000 +0100
++++ ./gnats/dbconfig.in 2011-06-12 09:58:06.000000000 +0200
+@@ -756,7 +756,8 @@
+ }
+ # A somewhat convoluted binary format is used when binary-index is set
+ # to true.
+- binary-index true
++ #binary-index true
++ binary-index false
+ }
+
+ # initial-entry describes which fields should be present on initial entry;
--- gnats4.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list