0002-uclibc.patch 590 B

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