Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2000 14:31:30 -0500 (EST)
From:      Trevor Johnson <trevor@jpj.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16757: bento patch for textproc/diffstat
Message-ID:  <Pine.BSI.4.21.0002161424460.19591-100000@blues.jpj.net>

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

>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 <malloc.h>
+ #else
+-extern	char	*malloc();
+ #endif
+ 
+ #if HAVE_GETOPT_H
+ #include <getopt.h>
+ #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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.4.21.0002161424460.19591-100000>