forked from Lainports/freebsd-ports
- Update to 1.41
PR: ports/85738 Submitted by: Andrej Zverev <az@inec.ru> Approved by: maintainer timeout (25 days)
This commit is contained in:
parent
90ecd0df4c
commit
8af306aa5a
6 changed files with 18 additions and 44 deletions
|
|
@ -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,12 +15,13 @@ MAINTAINER= trevor@FreeBSD.org
|
|||
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
|
||||
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
11
textproc/diffstat/files/patch-configure
Normal file
11
textproc/diffstat/files/patch-configure
Normal file
|
|
@ -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 \
|
||||
|
||||
Loading…
Add table
Reference in a new issue