diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-11-11 08:51:47 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-11-11 08:51:47 +0000 |
commit | ae64a80b2e3cb59354101fcd2835478591526786 (patch) | |
tree | 067c0d8d4b23aeda9b522c360f5d81b6cacbce90 /databases/dbf | |
parent | 273cb1dcfb03d8b0c3d6233521b411bf615f8fe0 (diff) | |
download | FreeBSD-ports-ae64a80b2e3cb59354101fcd2835478591526786.zip FreeBSD-ports-ae64a80b2e3cb59354101fcd2835478591526786.tar.gz |
upgrade to 0.8
Diffstat (limited to 'databases/dbf')
-rw-r--r-- | databases/dbf/Makefile | 2 | ||||
-rw-r--r-- | databases/dbf/distinfo | 2 | ||||
-rw-r--r-- | databases/dbf/files/patch-Makefile.rules | 27 | ||||
-rw-r--r-- | databases/dbf/files/patch-dbf.c | 18 |
4 files changed, 35 insertions, 14 deletions
diff --git a/databases/dbf/Makefile b/databases/dbf/Makefile index 97e2016..fc6b076 100644 --- a/databases/dbf/Makefile +++ b/databases/dbf/Makefile @@ -7,7 +7,7 @@ # PORTNAME= dbf -PORTVERSION= 0.7 +PORTVERSION= 0.8 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/databases/dbf/distinfo b/databases/dbf/distinfo index facf4c3..e6a71ec 100644 --- a/databases/dbf/distinfo +++ b/databases/dbf/distinfo @@ -1 +1 @@ -MD5 (dbf-0.7.src.tar.gz) = 048ac02835d73d845d4d547351924394 +MD5 (dbf-0.8.src.tar.gz) = 3febe0dd64381c7e9a020ba8f107b5ac diff --git a/databases/dbf/files/patch-Makefile.rules b/databases/dbf/files/patch-Makefile.rules index 332d277..f4dfa3d 100644 --- a/databases/dbf/files/patch-Makefile.rules +++ b/databases/dbf/files/patch-Makefile.rules @@ -1,18 +1,21 @@ ---- ../Makefile.rules Thu May 8 14:53:12 2003 -+++ ../Makefile.rules Tue Aug 19 15:22:20 2003 -@@ -4,4 +4,3 @@ +--- ../Makefile.rules.orig Tue Nov 11 16:43:04 2003 ++++ ../Makefile.rules Tue Nov 11 16:43:24 2003 +@@ -2,15 +2,15 @@ + # Version 0.8 + # Compiler flags -CC = /usr/bin/gcc -CFLAGS = -Wall ++#CC = /usr/bin/gcc +CFLAGS += -Wall -@@ -12,3 +11,3 @@ - VERSION = 0.6 --PREFIX = /usr/local/bin -+PREFIX := ${PREFIX}/bin + # Settings + LOG = make.log + DIRS = src + BIN = dbf + VERSION = 0.8 +-PREFIX = /usr/local ++#PREFIX = /usr/local -@@ -19,4 +18 @@ - RED = \033[1;31m -- --.c.o: -- $(CC) $(CFLAGS) -c $< + # Compiler settings - do not change + # erased dbfversion.o diff --git a/databases/dbf/files/patch-dbf.c b/databases/dbf/files/patch-dbf.c new file mode 100644 index 0000000..cf2ce40 --- /dev/null +++ b/databases/dbf/files/patch-dbf.c @@ -0,0 +1,18 @@ +--- dbf.c.orig Tue Nov 11 16:48:07 2003 ++++ dbf.c Tue Nov 11 16:48:19 2003 +@@ -315,6 +315,7 @@ + exit(1); + + if (writeLine) { ++ char *flag_byte; + if ((record = malloc(record_length + 1)) == NULL) { + perror("malloc"); exit(1); + } +@@ -327,7 +328,6 @@ + //lseek(dbfhandle, rotate2b(db->header_length) + 1, SEEK_SET); + + /* At this point we look if the following data set is deleted */ +- char *flag_byte; + lseek(dbfhandle, rotate2b(db->header_length), SEEK_SET); + + if ( (flag_byte = malloc(1)) == NULL ) { |