1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/ldb
Fabrice Fontaine 519d72c578 Fix uClibc build on 64bit platforms by including stdint.h
Fixes an error detected by buildroot autobuilders:
http://autobuild.buildroot.net/results/573/573e2268e205e10d1352fa81122d8f225fdb4575/build-end.log

/home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/stdint.h:122:27:
error: conflicting types for 'uintptr_t'
 typedef unsigned long int uintptr_t;
                           ^
In file included from ../lib/ldb/tests/ldb_msg.c:17:0:
../third_party/cmocka/cmocka.h:126:28: note: previous declaration of 'uintptr_t' was here
       typedef unsigned int uintptr_t;

The define __WORDSIZE is missing when cmocka.h decides how to
define uintptr_t, this patch includes stdint.h when needed.

Patch sent upstream:
https://lists.samba.org/archive/samba-technical/2018-January/125306.html

[updated for samba-4.8.4, v2 sent upstream
 https://lists.samba.org/archive/samba-technical/2018-August/129732.html,
 updated for samba-4.9.1]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Retrieved from:
https://git.buildroot.net/buildroot/tree/package/samba4/0003-Fix-uClibc-build-on-64bit-platforms-by-including-std.patch]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2019-05-19 17:34:20 +00:00
..
ABI ldb: Release ldb 2.0.1 2019-05-15 04:03:37 +00:00
common ldb: remove unpack only attr list functionality 2019-05-15 04:03:37 +00:00
docs
examples
include ldb: remove unpack only attr list functionality 2019-05-15 04:03:37 +00:00
ldb_key_value ldb: remove unpack only attr list functionality 2019-05-15 04:03:37 +00:00
ldb_ldap ldb_ldap: use ldb_msg API to add elements 2019-05-10 01:15:18 +00:00
ldb_ldb ldb: Add MDB support to ldb:// 2018-05-23 02:27:12 +02:00
ldb_map ldb_map: check a return value (CID 241354) 2019-05-09 22:39:27 +00:00
ldb_mdb ldb_mdb: check fcntl return values (CID 1435851) 2019-05-09 22:39:27 +00:00
ldb_sqlite3 CVE-2018-1140 ldb: Check for ldb_dn_get_casefold() failure in ldb_sqlite 2018-08-14 13:57:15 +02:00
ldb_tdb ldb_kv: Avoid memdup of database records in the case of base searches 2019-04-11 04:17:11 +00:00
man Spelling fixes s/overrided/overridden/ 2019-04-02 01:12:11 +00:00
modules ldb modules: paged_search checks control is not NULL (CID 241355) 2019-05-09 22:39:27 +00:00
nssldb
tests Fix uClibc build on 64bit platforms by including stdint.h 2019-05-19 17:34:20 +00:00
tools ldb/tools/ldbtest: initialise msg object 2019-05-10 01:15:18 +00:00
web
_ldb_text.py ldb/tests/_ldb_text: remove unused imports 2018-10-25 21:45:55 +02:00
configure build: Move python detection back into waf (instead of in configure and Makefile) 2018-12-14 14:40:19 +01:00
Doxyfile
examples.dox
ldb.pc.in
mainpage.dox
Makefile Search for location of waf script 2019-02-26 10:39:24 +01:00
pyldb_util.c lib/ldb: Additionally accept unicode as string param in Py2 2018-04-30 15:43:19 +02:00
pyldb-util.pc.in lib/ldb: Enable use of a python3 pyldb-util system library 2017-03-10 07:31:10 +01:00
pyldb.c lib/ldb: Fix incorrect return type for (setter) func type 2019-05-16 17:55:17 +00:00
pyldb.h pyldb: protect PyErr_LDB_ERROR_IS_ERR_RAISE() with do {} while(0) 2016-11-23 16:53:28 +01:00
README_gcov.txt
wscript ldb: Release ldb 2.0.1 2019-05-15 04:03:37 +00:00