Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Sep 2005 15:06:25 +0400
From:      Andrej Zverev <az@inec.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/85738: [update] textproc/diffstat to 1.41
Message-ID:  <E1ECEnx-000409-80@az.inec.ru>
Resent-Message-ID: <200509051110.j85BAGSC083773@freefall.freebsd.org>

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

>Number:         85738
>Category:       ports
>Synopsis:       [update] textproc/diffstat to 1.41
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 05 11:10:16 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andrej Zverev
>Release:        FreeBSD 5.4-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD az.inec.ru 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #2: Wed Jul 6 12:10:32 MSD 2005 root@az.inec.ru:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	Removed files:
	files/patch-aa
	files/patch-ab
	files/patch-ad

	Added files:
	files/patch-configure
	
>How-To-Repeat:
	
>Fix:

	

--- diffstat.diff begins here ---
diff -Nru diffstat.orig/Makefile diffstat/Makefile
--- diffstat.orig/Makefile	Wed Apr  7 21:05:45 2004
+++ diffstat/Makefile	Mon Sep  5 14:35:58 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	diffstat
-PORTVERSION=	1.34
+PORTVERSION=	1.41
 CATEGORIES=	textproc devel
 MASTER_SITES=	ftp://dickey.his.com/diffstat/
 EXTRACT_SUFX=	.tgz
@@ -15,11 +15,12 @@
 COMMENT=	Makes a histogram summarizing "diff" output
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+GNU_CONFIGURE=	yes
+MAKEFILE=	makefile
+
 MAN1=		diffstat.1
 PLIST_FILES=	bin/diffstat
-
-do-build:
-	cd ${WRKSRC}; ${CC} ${CFLAGS} -DHAVE_STDLIB_H -o diffstat diffstat.c
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/diffstat ${PREFIX}/bin
diff -Nru diffstat.orig/distinfo diffstat/distinfo
--- diffstat.orig/distinfo	Wed Apr  7 21:05:45 2004
+++ diffstat/distinfo	Mon Sep  5 14:31:05 2005
@@ -1,2 +1,2 @@
-MD5 (diffstat-1.34.tgz) = 8cf39406d471722499b4d9dacdf367f5
-SIZE (diffstat-1.34.tgz) = 58633
+MD5 (diffstat-1.41.tgz) = c4a55fea8f94dbd1664f76c98da4ee17
+SIZE (diffstat-1.41.tgz) = 98321
diff -Nru diffstat.orig/files/patch-aa diffstat/files/patch-aa
--- diffstat.orig/files/patch-aa	Fri Nov 26 23:40:38 1999
+++ diffstat/files/patch-aa	Thu Jan  1 03:00:00 1970
@@ -1,11 +0,0 @@
---- configure.in.orig	Fri Jan 16 17:29:21 1998
-+++ configure.in	Fri Oct 22 21:56:59 1999
-@@ -18,7 +18,7 @@
- AC_CONST
- AC_STDC_HEADERS
- AC_HAVE_HEADERS(stdlib.h unistd.h)
--AC_HAVE_HEADERS(getopt.h string.h malloc.h)
-+AC_HAVE_HEADERS(string.h)
- AC_TYPE_SIZE_T
- 
- ###	output makefile and config.h
diff -Nru diffstat.orig/files/patch-ab diffstat/files/patch-ab
--- diffstat.orig/files/patch-ab	Fri Nov 26 23:40:38 1999
+++ diffstat/files/patch-ab	Thu Jan  1 03:00:00 1970
@@ -1,11 +0,0 @@
---- configure.orig	Fri Jan 16 17:33:25 1998
-+++ configure	Fri Oct 22 21:57:52 1999
-@@ -1103,7 +1103,7 @@
- fi
- done
- 
--for ac_hdr in getopt.h string.h malloc.h
-+for ac_hdr in string.h
- do
- ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
- echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
diff -Nru diffstat.orig/files/patch-ad diffstat/files/patch-ad
--- diffstat.orig/files/patch-ad	Fri May 19 12:14:32 2000
+++ diffstat/files/patch-ad	Thu Jan  1 03:00:00 1970
@@ -1,16 +0,0 @@
---- diffstat.c.orig	Wed Mar 29 16:01:19 2000
-+++ diffstat.c	Mon May  8 23:28:20 2000
-@@ -92,13 +92,11 @@
- #ifdef HAVE_MALLOC_H
- #include <malloc.h>
- #else
--extern char *malloc();
- #endif
- 
- #ifdef HAVE_GETOPT_H
- #include <getopt.h>
- #else
--extern int getopt();
- extern char *optarg;
- extern int optind;
- #endif
diff -Nru diffstat.orig/files/patch-configure diffstat/files/patch-configure
--- diffstat.orig/files/patch-configure	Thu Jan  1 03:00:00 1970
+++ diffstat/files/patch-configure	Mon Sep  5 14:47:14 2005
@@ -0,0 +1,11 @@
+--- configure.orig	Tue Aug 16 04:41:39 2005
++++ configure	Mon Sep  5 14:47:01 2005
+@@ -3455,8 +3455,6 @@
+ done
+ 
+ for ac_header in \
+-getopt.h \
+-malloc.h \
+ search.h \
+ string.h \
+ 
--- diffstat.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



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