View | Details | Raw Unified | Return to bug 52303
Collapse All | Expand All

(-)gnats/Makefile (+1 lines)
Lines 21-26 Link Here
21
CONFIGURE_ARGS=	--with-lispdir=${PREFIX}/share/emacs/site-lisp \
21
CONFIGURE_ARGS=	--with-lispdir=${PREFIX}/share/emacs/site-lisp \
22
		--with-full-gnats \
22
		--with-full-gnats \
23
		--with-release-based
23
		--with-release-based
24
CFLAGS+=	-DUSE_WIDE_RESPONSIBLE
24
25
25
USE_GMAKE=	yes
26
USE_GMAKE=	yes
26
MAN1=		edit-pr.1 query-pr.1 send-pr.1
27
MAN1=		edit-pr.1 query-pr.1 send-pr.1
(-)gnats/files/patch-gnats::query.c (+25 lines)
Line 0 Link Here
1
--- gnats/query.c.dist	Wed Nov 25 08:15:19 1998
2
+++ gnats/query.c	Thu May 15 18:15:59 2003
3
@@ -488,7 +488,7 @@
4
   
5
   if (query_format & FORMAT_SQL)
6
     {
7
-      char *t, *q, *tempstr;
8
+      char *t, *q, *tempstr, *fmtstring;
9
 
10
       tempstr = (char *) xmalloc (strlen (i->synopsis) + 1);
11
       strcpy (tempstr, i->synopsis);
12
@@ -503,7 +503,12 @@
13
       if (q != NULL)
14
 	*q = '\0';
15
 
16
-      fprintf (outfile, "%1.1d|%1.1d|%-16.16s|%1.1d|%1.1d|%-16.16s|",
17
+#ifdef USE_WIDE_RESPONSIBLE
18
+      fmtstring = "%1.1d|%1.1d|%-20.20s|%1.1d|%1.1d|%-16.16s|";
19
+#else
20
+      fmtstring = "%1.1d|%1.1d|%-16.16s|%1.1d|%1.1d|%-16.16s|";
21
+#endif
22
+      fprintf (outfile, fmtstring,
23
 	       sql_types (i->severity, Severity), sql_types (i->priority, 
24
 	       tempstr,
25
 	       sql_types (i->state, State), sql_types (i->class, Class),

Return to bug 52303