opnsense-ports/databases/firebird25-server/files/patch-src-jrd_isc_sync.cpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
455 B
C++

--- src/jrd/isc_sync.cpp 2011-08-30 08:48:04.000000000 -0500
+++ src/jrd/isc_sync.cpp 2011-10-19 15:00:50.000000000 -0500
@@ -320,7 +320,7 @@
public:
const static int N_FILES = 8;
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