ports/databases/firebird25-server/files/patch-src-jrd_isc_sync.cpp
Jose Alonso Cardenas Marquez 889c999039 - 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/
2010-12-20 08:48:54 +00:00

11 lines
449 B
C++

--- 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