lmdb/liblmdb-implicit-decl.patch
Klaus Kämpf 3732d3787c Accepting request 248414 from home:elvigia:branches:systemsmanagement
- 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
2014-09-11 07:28:39 +00:00

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)