diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2004-08-11 22:02:59 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2004-08-11 22:02:59 +0000 |
commit | 5d548df1e5bb4c73b18b19ca44ca7ff65da2ec28 (patch) | |
tree | 5267b4058a0213606c35be1e098df827539355c1 /databases/gigabase | |
parent | - move MASTER_SITES to standalone ports (diff) |
Update to 3.25 [1]
Add temporary fix for build with gcc-3.4.x [2]
[2] Notice from: kris
Notes
Notes:
svn path=/head/; revision=115970
Diffstat (limited to 'databases/gigabase')
-rw-r--r-- | databases/gigabase/Makefile | 2 | ||||
-rw-r--r-- | databases/gigabase/distinfo | 4 | ||||
-rw-r--r-- | databases/gigabase/files/patch-localcli.h | 43 |
3 files changed, 46 insertions, 3 deletions
diff --git a/databases/gigabase/Makefile b/databases/gigabase/Makefile index 66347f17145c..d6664cafa47f 100644 --- a/databases/gigabase/Makefile +++ b/databases/gigabase/Makefile @@ -6,7 +6,7 @@ # PORTNAME= gigabase -PORTVERSION= 3.24 +PORTVERSION= 3.25 CATEGORIES= databases MASTER_SITES= http://www.garret.ru/~knizhnik/ diff --git a/databases/gigabase/distinfo b/databases/gigabase/distinfo index b6fe5cf3c010..412dc9d326bc 100644 --- a/databases/gigabase/distinfo +++ b/databases/gigabase/distinfo @@ -1,2 +1,2 @@ -MD5 (gigabase-3.24.tar.gz) = 1d73c4b29546a49508402cdf2621c72f -SIZE (gigabase-3.24.tar.gz) = 1366216 +MD5 (gigabase-3.25.tar.gz) = b37debf879320491b58647f2951ff0c4 +SIZE (gigabase-3.25.tar.gz) = 1366501 diff --git a/databases/gigabase/files/patch-localcli.h b/databases/gigabase/files/patch-localcli.h new file mode 100644 index 000000000000..6930e5bd98c7 --- /dev/null +++ b/databases/gigabase/files/patch-localcli.h @@ -0,0 +1,43 @@ +--- localcli.h.orig Thu Aug 12 01:46:23 2004 ++++ localcli.h Thu Aug 12 01:47:39 2004 +@@ -178,7 +178,7 @@ + for (i = 0; i < descriptor_table_size; i++) { + table[i] = next = new T(i, next); + } +- free_chain = next; ++ this->free_chain = next; + } + + ~descriptor_table() { +@@ -186,13 +186,13 @@ + } + + T* get(int desc) { +- dbCriticalSection cs(mutex); ++ dbCriticalSection cs(this->mutex); + return (desc >= descriptor_table_size) ? (T*)0 : table[desc]; + } + + T* allocate() { +- dbCriticalSection cs(mutex); +- if (free_chain == NULL) { ++ dbCriticalSection cs(this->mutex); ++ if (this->free_chain == NULL) { + int i, n; + T** desc = new T*[descriptor_table_size * 2]; + memcpy(desc, table, descriptor_table_size*sizeof(T*)); +@@ -202,11 +202,11 @@ + for (i = descriptor_table_size, n = i*2; i < n; i++) { + table[i] = next = new T(i, next); + } +- free_chain = next; ++ this->free_chain = next; + descriptor_table_size = n; + } +- T* desc = free_chain; +- free_chain = desc->next; ++ T* desc = this->free_chain; ++ this->free_chain = desc->next; + return desc; + } + }; |