Update to 0.75

This commit is contained in:
Marcus Alves Grando 2005-11-03 20:01:41 +00:00
parent 71090e11be
commit 4272c3c576
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147153
3 changed files with 7 additions and 15 deletions

View File

@ -7,9 +7,10 @@
#
PORTNAME= tinycdb
PORTVERSION= 0.74
PORTVERSION= 0.75
CATEGORIES= databases
MASTER_SITES= ftp://ftp.corpit.ru/pub/tinycdb/
MASTER_SITES= http://www.corpit.ru/mjt/tinycdb/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= mnag@FreeBSD.org
COMMENT= Analogous to cdb, but faster
@ -17,6 +18,8 @@ COMMENT= Analogous to cdb, but faster
USE_GMAKE= yes
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" prefix="${PREFIX}"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= cdb.1
MAN3= cdb.3
MAN5= cdb.5

View File

@ -1,2 +1,2 @@
MD5 (tinycdb-0.74.tar.gz) = 73a29c3ec6c1e5a07dc23ebd4b870bc9
SIZE (tinycdb-0.74.tar.gz) = 27448
MD5 (tinycdb_0.75.tar.gz) = 300f35ad36e503cff8f0fa3240e287dd
SIZE (tinycdb_0.75.tar.gz) = 32025

View File

@ -1,11 +0,0 @@
--- cdb.c.orig Tue May 17 17:42:12 2005
+++ cdb.c Tue May 17 17:42:28 2005
@@ -143,7 +143,7 @@
if (printf(mode == 'd' ? "+%u,%u:" : "+%u:", klen, vlen) < 0) return -1;
if (fcpy(f, stdout, klen, &pos, eod) != 0) return -1;
if (mode == 'd')
- if (!fputs(flags & F_MAP ? " " : "->", stdout))
+ if (fputs(flags & F_MAP ? " " : "->", stdout) == EOF)
return -1;
if (fcpy(f, mode == 'd' ? stdout : NULL, vlen, &pos, eod) != 0)
return -1;