From owner-freebsd-ports Wed Feb 16 15:30:25 2000 Delivered-To: freebsd-ports@freebsd.org Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24]) by hub.freebsd.org (Postfix) with ESMTP id ED7C037B58D for ; Wed, 16 Feb 2000 15:30:06 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by builder.freebsd.org (Postfix) with ESMTP id 1212D132DD for ; Wed, 16 Feb 2000 15:29:29 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA96875; Wed, 16 Feb 2000 15:30:06 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24]) by hub.freebsd.org (Postfix) with ESMTP id F2C3E37B628 for ; Wed, 16 Feb 2000 11:31:44 -0800 (PST) (envelope-from trevor@jpj.net) Received: from blues.jpj.net (blues.jpj.net [204.97.17.146]) by builder.freebsd.org (Postfix) with ESMTP id 82881132D9 for ; Wed, 16 Feb 2000 11:30:57 -0800 (PST) Received: from localhost (trevor@localhost) by blues.jpj.net (right/backatcha) with ESMTP id OAA20655 for ; Wed, 16 Feb 2000 14:31:30 -0500 (EST) Message-Id: Date: Wed, 16 Feb 2000 14:31:30 -0500 (EST) From: Trevor Johnson To: FreeBSD-gnats-submit@freebsd.org Subject: ports/16757: bento patch for textproc/diffstat Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 16757 >Category: ports >Synopsis: bento patch for textproc/diffstat >Confidential: no >Severity: non-critical >Priority: low >Responsible: ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 16 15:30:06 PST 2000 >Closed-Date: >Last-Modified: >Originator: Trevor Johnson >Release: 3.4-RC i386 >Organization: myself >Environment: only tested on 3.4-RC i386 >Description: These messages show up in the bento log for this port and seem to be the reason it's counted as broken. They're also generated on 3.4-RC: diffstat.c:86: warning: function declaration isn't a prototype diffstat.c:92: warning: function declaration isn't a prototype mv diffstat odiffstat mv: rename diffstat to odiffstat: No such file or directory *** Error code 1 (ignored) >How-To-Repeat: run the bento scripts or browse http://bento.FreeBSD.org/errorlogs/errorlogs/a.4.20000215/diffstat-1.27.log >Fix: diff -ruN diffstat.orig/patches/patch-ac diffstat/patches/patch-ac --- diffstat.orig/patches/patch-ac Wed Dec 31 16:00:00 1969 +++ diffstat/patches/patch-ac Wed Feb 16 11:23:19 2000 @@ -0,0 +1,10 @@ +--- makefile.in.orig Fri Jan 16 17:36:01 1998 ++++ makefile.in Wed Feb 16 11:22:59 2000 +@@ -49,7 +49,6 @@ + $(CC) -c $(CPPFLAGS) $(CFLAGS) $< + + $(THIS): $(OBJ) +- -mv $(THIS) o$(THIS) + $(LINK) $(LDFLAGS) -o $(THIS) $(OBJ) $(LIBS) + + install: all installdirs diff -ruN diffstat.orig/patches/patch-ad diffstat/patches/patch-ad --- diffstat.orig/patches/patch-ad Wed Dec 31 16:00:00 1969 +++ diffstat/patches/patch-ad Wed Feb 16 11:23:33 2000 @@ -0,0 +1,16 @@ +--- diffstat.c.orig Sun May 17 05:07:38 1998 ++++ diffstat.c Wed Feb 16 11:20:00 2000 +@@ -83,13 +83,11 @@ + #if HAVE_MALLOC_H + #include + #else +-extern char *malloc(); + #endif + + #if HAVE_GETOPT_H + #include + #else +-extern int getopt(); + extern char *optarg; + extern int optind; + #endif >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message