mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
Update to 3.25 [1]
Add temporary fix for build with gcc-3.4.x [2] [2] Notice from: kris
This commit is contained in:
parent
d2b5596b16
commit
5d548df1e5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115970
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= gigabase
|
||||
PORTVERSION= 3.24
|
||||
PORTVERSION= 3.25
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://www.garret.ru/~knizhnik/
|
||||
|
||||
|
@ -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
|
||||
|
43
databases/gigabase/files/patch-localcli.h
Normal file
43
databases/gigabase/files/patch-localcli.h
Normal file
@ -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;
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user