Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2001 18:12:37 -0700 (PDT)
From:      Alex Varju <alex@varju.bc.ca>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30923: small fix for devel/gindent port
Message-ID:  <200109300112.f8U1Cbx36548@alex.madd.tnmc.ca>

next in thread | raw e-mail | index | archive | help

>Number:         30923
>Category:       ports
>Synopsis:       small fix for devel/gindent port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 29 18:20:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Alex Varju
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
WebCT
>Environment:
System: FreeBSD alex.madd.tnmc.ca 4.4-STABLE FreeBSD 4.4-STABLE #1: Sat Sep 29 16:59:27 PDT 2001 varju@alex.madd.tnmc.ca:/home/freebsd/obj/home/freebsd/src.releng4/sys/ALEX i386

>Description:
The distribution version of GNU indent (2.2.6) does not support the
--no-tabs option, although the documentation says it should.  This is
because of a small typo in the argument handler table.

I have sent this change to bug-indent@gnu.org, as well.
>How-To-Repeat:
Try to use the --no-tabs option.

>Fix:
Index: ports/devel/gindent/files/patch-args.c
===================================================================
RCS file: /home/freebsd/cvsroot/ports/devel/gindent/files/patch-args.c,v
retrieving revision 1.2
diff -u -r1.2 patch-args.c
--- ports/devel/gindent/files/patch-args.c	2001/04/20 08:33:17	1.2
+++ ports/devel/gindent/files/patch-args.c	2001/09/29 22:26:32
@@ -1,5 +1,5 @@
 --- args.c.orig	Thu Nov 16 19:01:04 2000
-+++ args.c	Fri Apr 20 01:32:52 2001
++++ args.c	Sat Sep 29 15:26:09 2001
 @@ -1,3 +1,5 @@
 +#define BERKELEY_DEFAULTS 1
 +
@@ -196,6 +196,15 @@
    {"fca", PRO_BOOL, false, ON, &format_comments, &exp_fca},
    {"fc1", PRO_BOOL, false, ON, &format_col1_comments, &exp_fc1},
    {"eei", PRO_BOOL, false, ON, &extra_expression_indent, &exp_eei},
+@@ -483,7 +499,7 @@
+   {"original-style", "orig"},
+   {"original", "orig"},
+   {"no-verbosity", "nv"},
+-  {"no-tabs", "nt"},
++  {"no-tabs", "nut"},
+   {"no-space-after-while", "nsaw"},
+   {"no-space-after-parentheses", "nprs"},
+   {"no-space-after-if", "nsai"},
 @@ -558,6 +574,9 @@
    {"blank-lines-after-declarations", "bad"},
    {"blank-lines-after-commas", "bc"},
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109300112.f8U1Cbx36548>