aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-04-04 21:02:50 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-04-04 21:02:50 +0000
commit7025199be860a544446722129868982b01ad8300 (patch)
tree9918cf3152e8a31d09417921fe14786d1cf60f7a /databases
parent63356425d0b4d68aa0c6e09412e62bd8acb27027 (diff)
downloadports-7025199be860a544446722129868982b01ad8300.tar.gz
ports-7025199be860a544446722129868982b01ad8300.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/tinycdb/Makefile1
-rw-r--r--databases/tinycdb/files/patch-cdb.c11
-rw-r--r--databases/tinycdb/pkg-descr2
3 files changed, 14 insertions, 0 deletions
diff --git a/databases/tinycdb/Makefile b/databases/tinycdb/Makefile
index 1cf1f12ac0d3..56c67af3bdac 100644
--- a/databases/tinycdb/Makefile
+++ b/databases/tinycdb/Makefile
@@ -8,6 +8,7 @@
PORTNAME= tinycdb
PORTVERSION= 0.73
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= ftp://ftp.corpit.ru/pub/tinycdb/
diff --git a/databases/tinycdb/files/patch-cdb.c b/databases/tinycdb/files/patch-cdb.c
new file mode 100644
index 000000000000..5b44c5118642
--- /dev/null
+++ b/databases/tinycdb/files/patch-cdb.c
@@ -0,0 +1,11 @@
+--- cdb.c.orig Mon Dec 10 06:18:02 2001
++++ cdb.c Mon Mar 3 08:38:57 2003
+@@ -144,7 +144,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;
diff --git a/databases/tinycdb/pkg-descr b/databases/tinycdb/pkg-descr
index 0c253e67973a..2d5142141be7 100644
--- a/databases/tinycdb/pkg-descr
+++ b/databases/tinycdb/pkg-descr
@@ -1,3 +1,5 @@
It is analogous to cdb from D.J.Berstein, but written completely from scratch,
has some functionality removed and some new added compared to DJB's one, a bit
faster, and much easier to use (only one library needed at link time).
+
+WWW: http://www.corpit.ru/mjt/tinycdb.html