aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2004-08-12 06:02:59 +0800
committerosa <osa@FreeBSD.org>2004-08-12 06:02:59 +0800
commitcb5bb28cb38ca63528f2ce69ac2b80b730538b43 (patch)
tree98be4985a5b1bfd6d1b77c3693bcee6df7073510 /databases
parentb647d262f917c5e31823e2406a4eda96fa2ba651 (diff)
downloadfreebsd-ports-gnome-cb5bb28cb38ca63528f2ce69ac2b80b730538b43.tar.gz
freebsd-ports-gnome-cb5bb28cb38ca63528f2ce69ac2b80b730538b43.tar.zst
freebsd-ports-gnome-cb5bb28cb38ca63528f2ce69ac2b80b730538b43.zip
Update to 3.25 [1]
Add temporary fix for build with gcc-3.4.x [2] [2] Notice from: kris
Diffstat (limited to 'databases')
-rw-r--r--databases/gigabase/Makefile2
-rw-r--r--databases/gigabase/distinfo4
-rw-r--r--databases/gigabase/files/patch-localcli.h43
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;
+ }
+ };