configs: atmel: at91sam9260eknf: update defconfig
[buildroot-gz.git] / package / libnss / 0002-uclibc.patch
blobb81db930bed0159675a1459c7c651d3d1e4fa34a
1 uCLibc does not define RTLD_NOLOAD.
3 [Gustavo: update for nss 3.16.1]
4 Signed-off-by: Will Newton <will.newton@imgtec.com>
6 diff -Nura nss-3.16.1.orig/nss/lib/freebl/stubs.c nss-3.16.1/nss/lib/freebl/stubs.c
7 --- nss-3.16.1.orig/nss/lib/freebl/stubs.c 2014-06-18 10:34:30.529997002 -0300
8 +++ nss-3.16.1/nss/lib/freebl/stubs.c 2014-06-18 10:36:25.508882650 -0300
9 @@ -594,6 +594,11 @@
10 return SECSuccess;
13 +/* uClibc does not define RTLD_NOLOAD. */
14 +#ifndef RTLD_NOLOAD
15 +#define RTLD_NOLOAD 0
16 +#endif
19 * fetch the library if it's loaded. For NSS it should already be loaded