freebsd-ports/databases/firebird25-server/files/patch-src-common-classes_alloc.h
Jose Alonso Cardenas Marquez 0688cb94de databases/firebird25-*: update to 2.5.9
- Fix core dump on newest versions of FreeBSD [1]
- Drop uneccesary patch files

ChangeLog at:	https://firebirdsql.org/file/documentation/release_notes/html/en/2_5/rlsnotes25.html
PR:		254206 254849
Reported by:	pi jbeich
Obtained from:	https://lists.freebsd.org/pipermail/freebsd-ports/2021-March/120469.html [1]
2021-05-22 13:33:03 -05:00

11 lines
408 B
C

--- src/common/classes/alloc.h 2021-05-19 19:28:30.698498000 -0500
+++ src/common/classes/alloc.h 2021-05-19 19:29:17.345552000 -0500
@@ -92,7 +92,7 @@
const int MAX_TREE_DEPTH = 4;
// Alignment for all memory blocks. Sizes of memory blocks in headers are measured in this units
-const size_t ALLOC_ALIGNMENT = FB_ALIGNMENT;
+#define ALLOC_ALIGNMENT 16
static inline size_t MEM_ALIGN(size_t value)
{