ports/databases/firebird25-server/files/patch-src_jrd_isc__sync.cpp
Pawel Pekala 7afb587cfc - Update to version 2.5.6 [1]
- Add CPE and libedit support [1]
- Use @preunexec instead of the deprecated @unexec in pkg-plist [1]
- Regenerate patches with make makepatch

PR:		211387 [1]
Submitted by:	luca.pizzamiglio@gmail.com [1]
2016-08-18 14:02:47 +00:00

11 lines
426 B
C++

--- src/jrd/isc_sync.cpp.orig 2016-06-30 09:34:54 UTC
+++ src/jrd/isc_sync.cpp
@@ -677,7 +677,7 @@ namespace {
public:
const static int N_FILES = 128;
const static int N_SETS = 256;
-#if defined(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