From owner-freebsd-ports Sat Sep 29 18:20: 9 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DC72537B411 for ; Sat, 29 Sep 2001 18:20:00 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8U1K0x62828; Sat, 29 Sep 2001 18:20:00 -0700 (PDT) (envelope-from gnats) Received: from alex.madd.tnmc.ca (h24-78-142-49.vc.shawcable.net [24.78.142.49]) by hub.freebsd.org (Postfix) with ESMTP id B32FB37B40C for ; Sat, 29 Sep 2001 18:12:37 -0700 (PDT) Received: (from varju@localhost) by alex.madd.tnmc.ca (8.11.6/8.11.6) id f8U1Cbx36548; Sat, 29 Sep 2001 18:12:37 -0700 (PDT) (envelope-from varju) Message-Id: <200109300112.f8U1Cbx36548@alex.madd.tnmc.ca> Date: Sat, 29 Sep 2001 18:12:37 -0700 (PDT) From: Alex Varju Reply-To: Alex Varju To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/30923: small fix for devel/gindent port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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