aboutsummaryrefslogtreecommitdiff
path: root/databases/pxlib
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2006-06-04 17:45:25 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2006-06-04 17:45:25 +0000
commit7177ab168405ca72454bb27e278ec0e1f809644d (patch)
treedfcb3b7a93867cbcc959e8993aff80f401edf8d6 /databases/pxlib
parent07816a2f09e5e675f62fe39985522bb775c1092c (diff)
downloadports-7177ab168405ca72454bb27e278ec0e1f809644d.tar.gz
ports-7177ab168405ca72454bb27e278ec0e1f809644d.zip
Notes
Diffstat (limited to 'databases/pxlib')
-rw-r--r--databases/pxlib/Makefile3
-rw-r--r--databases/pxlib/distinfo6
-rw-r--r--databases/pxlib/files/patch-src-paradox.c18
3 files changed, 22 insertions, 5 deletions
diff --git a/databases/pxlib/Makefile b/databases/pxlib/Makefile
index e9cdef3e6250..d4ffaab6d03a 100644
--- a/databases/pxlib/Makefile
+++ b/databases/pxlib/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= pxlib
-PORTVERSION= 0.6.0
-PORTREVISION= 1
+PORTVERSION= 0.6.1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/databases/pxlib/distinfo b/databases/pxlib/distinfo
index e7ec98651704..dee146ae7e41 100644
--- a/databases/pxlib/distinfo
+++ b/databases/pxlib/distinfo
@@ -1,3 +1,3 @@
-MD5 (pxlib-0.6.0.tar.gz) = 14afa3d5f65be74e701668e47c0a1759
-SHA256 (pxlib-0.6.0.tar.gz) = 12ae1dfa1099b039951bdc059f2928fc737efcdee9a3eb0b7ae6e70e2763daf2
-SIZE (pxlib-0.6.0.tar.gz) = 481601
+MD5 (pxlib-0.6.1.tar.gz) = 397a2d6214d0fbb5a20c5b4da438a509
+SHA256 (pxlib-0.6.1.tar.gz) = 7d23dcc91907d6fddc7c4a1babc2f5b422213794ace965c03239ffada7f668d1
+SIZE (pxlib-0.6.1.tar.gz) = 496929
diff --git a/databases/pxlib/files/patch-src-paradox.c b/databases/pxlib/files/patch-src-paradox.c
new file mode 100644
index 000000000000..02c1c327b6b4
--- /dev/null
+++ b/databases/pxlib/files/patch-src-paradox.c
@@ -0,0 +1,18 @@
+--- src/paradox.c.orig Sun Jun 4 21:38:12 2006
++++ src/paradox.c Sun Jun 4 21:38:31 2006
+@@ -273,6 +273,7 @@
+ pxstream_t *pxs;
+ pxpindex_t *pindex;
+ int blockcount, blocknumber, numrecords;
++ TDataBlock datablockhead;
+
+ pxh = pxdoc->px_head;
+ pxs = pxdoc->px_stream;
+@@ -337,7 +338,6 @@
+ if(blocknumber != 0) {
+ while(blocknumber > 0) {
+ fprintf(stderr, "next blocknumber after creating primary index: %d\n", blocknumber);
+- TDataBlock datablockhead;
+ if(get_datablock_head(pxdoc, pxs, blocknumber, &datablockhead) < 0) {
+ px_error(pxdoc, PX_RuntimeError, _("Could not get head of data block nr. %d."), blocknumber);
+ pxdoc->free(pxdoc, pindex);