mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 03:16:28 -04:00
upgrade to 0.8
This commit is contained in:
parent
c0c56d0191
commit
f092015a23
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93723
4 changed files with 35 additions and 14 deletions
|
@ -7,7 +7,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= dbf
|
||||
PORTVERSION= 0.7
|
||||
PORTVERSION= 0.8
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (dbf-0.7.src.tar.gz) = 048ac02835d73d845d4d547351924394
|
||||
MD5 (dbf-0.8.src.tar.gz) = 3febe0dd64381c7e9a020ba8f107b5ac
|
||||
|
|
|
@ -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
|
||||
|
|
18
databases/dbf/files/patch-dbf.c
Normal file
18
databases/dbf/files/patch-dbf.c
Normal file
|
@ -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 ) {
|
Loading…
Add table
Reference in a new issue