aboutsummaryrefslogtreecommitdiffstats
path: root/databases/dbf
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2004-04-21 04:00:16 +0800
committermi <mi@FreeBSD.org>2004-04-21 04:00:16 +0800
commitb6ef0b0ff557df9e8ae6d0375be3af02dd2bb1e2 (patch)
treeb26a8555df8d045ed22194399b9b734147ebafc2 /databases/dbf
parent4d908b26630cef3b8ca7f1fe677d77db4c20e9d2 (diff)
downloadfreebsd-ports-gnome-b6ef0b0ff557df9e8ae6d0375be3af02dd2bb1e2.tar.gz
freebsd-ports-gnome-b6ef0b0ff557df9e8ae6d0375be3af02dd2bb1e2.tar.zst
freebsd-ports-gnome-b6ef0b0ff557df9e8ae6d0375be3af02dd2bb1e2.zip
Update from 0.8.3 to 0.8.3.1 -- some of my patches were quietly incorporated
and the 0.8.3 is no longer available.
Diffstat (limited to 'databases/dbf')
-rw-r--r--databases/dbf/Makefile2
-rw-r--r--databases/dbf/distinfo4
-rw-r--r--databases/dbf/files/patch-dbf.c14
3 files changed, 10 insertions, 10 deletions
diff --git a/databases/dbf/Makefile b/databases/dbf/Makefile
index 5e488a839e35..9b1af36282ae 100644
--- a/databases/dbf/Makefile
+++ b/databases/dbf/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= dbf
-PORTVERSION= 0.8.3
+PORTVERSION= 0.8.3.1
CATEGORIES= databases
MASTER_SITES= http://download.berlios.de/dbf/ \
${MASTER_SITE_SOURCEFORGE}
diff --git a/databases/dbf/distinfo b/databases/dbf/distinfo
index faf65c535916..72d8fe5419b9 100644
--- a/databases/dbf/distinfo
+++ b/databases/dbf/distinfo
@@ -1,2 +1,2 @@
-MD5 (dbf-0.8.3.src.tar.gz) = e12b56f007566294e76235c8b0890135
-SIZE (dbf-0.8.3.src.tar.gz) = 26057
+MD5 (dbf-0.8.3.1.src.tar.gz) = d3e4d93ce6c956e52d12c92fba29c376
+SIZE (dbf-0.8.3.1.src.tar.gz) = 26054
diff --git a/databases/dbf/files/patch-dbf.c b/databases/dbf/files/patch-dbf.c
index 2f78adce4eb5..c79a8ed3f854 100644
--- a/databases/dbf/files/patch-dbf.c
+++ b/databases/dbf/files/patch-dbf.c
@@ -4,7 +4,7 @@
int dbfhandle;
FILE *output = NULL;
int header_length, record_length, i;
-- const char *filename, *export_filename;
+- const char *filename = NULL, *export_filename = NULL;
+ const char *filename, *export_filename = NULL;
headerMethod writeHeader = NULL;
lineMethod writeLine = printDBF;
@@ -14,15 +14,15 @@
if (argc < 2) {
fprintf(stderr, "Usage: %s [option][argument] dbf-file, -h for help\n", *argv);
-@@ -342,7 +342,7 @@
+@@ -342,7 +342,4 @@
if (verbosity > 0)
banner();
-- if(0 == strcmp(export_filename, "-"))
-+ if(!export_filename || (0 == strcmp(export_filename, "-")))
- output = stdout;
- else
- output = export_open(export_filename);
+- if(export_filename && 0 == strcmp(export_filename, "-"))
+- output = stdout;
+- else
+- output = export_open(export_filename);
++ output = export_open(export_filename);
@@ -372,12 +372,7 @@
/* At this point we look if the following data set is deleted */
lseek(dbfhandle, rotate2b(db->header_length), SEEK_SET);