summaryrefslogtreecommitdiff
path: root/databases/firebird25-server/files/patch-src-jrd_isc_sync.cpp
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2010-12-20 08:48:54 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2010-12-20 08:48:54 +0000
commit889c99903996bea265f44e95327fbd9f3ea2d3c2 (patch)
tree37f6c971c2214cd62fe896b7b0f2d87a6bb7304c /databases/firebird25-server/files/patch-src-jrd_isc_sync.cpp
parent* Add LICENSE=PHP301 - http://pecl.php.net/package/spread (diff)
- New port: databases/firebird25-server
Firebird is a relational database offering many ANSI SQL-99 features that runs on Linux, Windows, and a variety of Unix platforms. Firebird offers excellent concurrency, high performance, and powerful language support for stored procedures and triggers. It has been used in production systems, under a variety of names since 1981. Firebird is completely free of any registration, licensing or deployment fees. It may be deployed freely for use with any third-party software, whether commercial or not. WWW: http://sourceforge.net/projects/firebird/ WWW: http://www.firebirdsql.org/
Notes
Notes: svn path=/head/; revision=266628
Diffstat (limited to 'databases/firebird25-server/files/patch-src-jrd_isc_sync.cpp')
-rw-r--r--databases/firebird25-server/files/patch-src-jrd_isc_sync.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/firebird25-server/files/patch-src-jrd_isc_sync.cpp b/databases/firebird25-server/files/patch-src-jrd_isc_sync.cpp
new file mode 100644
index 000000000000..7825b20d1823
--- /dev/null
+++ b/databases/firebird25-server/files/patch-src-jrd_isc_sync.cpp
@@ -0,0 +1,11 @@
+--- src/jrd/isc_sync.cpp 2010-12-18 21:08:26.000000000 -0500
++++ src/jrd/isc_sync.cpp 2010-12-18 21:09:05.000000000 -0500
+@@ -320,7 +320,7 @@
+ public:
+ const static int N_FILES = 8;
+ const static int N_SETS = 256;
+-#ifdef DEV_BUILD
++#if defined(DEV_BUILD) || defined(FREEBSD)
+ const static int SEM_PER_SET = 4; // force multiple sets allocation
+ #else
+ const static int SEM_PER_SET = 31; // hard limit for some old systems, might set to 32