3732d3787c
- automake.diff changes: * for autoconf tests to have effect, (like those in 0001-Patch-for-LMDB-to-use-robust-mutexes.patch) config.h must be included as first file in all C code. * in 32 bit systems, ensure we support large databases. * Switch the compiler to the current C standard, currently -std=gnu99 in upcoming autoconf versions it is C11 though. - liblmdb-implicit-decl.patch atol() requires stdlib.h - Enable verbose build, rpmlint depends on that to work. OBS-URL: https://build.opensuse.org/request/show/248414 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/lmdb?expand=0&rev=10
11 lines
223 B
Diff
11 lines
223 B
Diff
--- liblmdb.orig/lmmgr.c
|
|
+++ liblmdb/lmmgr.c
|
|
@@ -3,6 +3,7 @@ lmmgr.c : Add, remove or manage the maxr
|
|
*/
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
+#include <stdlib.h>
|
|
#include "lmdb.h"
|
|
|
|
static int report_error(int rc)
|