summaryrefslogtreecommitdiffstats
path: root/package/libnss/libnss-uclibc.patch
diff options
context:
space:
mode:
authorWill Newton <will.newton@imgtec.com>2011-07-08 14:19:16 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-11 00:44:00 +0200
commit2016db44e815ddd5fc92ceea35ba439839d8c8b3 (patch)
tree3a9485d5621edcd8101ce0e5da43dfbf1e20bea2 /package/libnss/libnss-uclibc.patch
parent36b4b852eea02a95f6162cba4ed5e7f3079637c0 (diff)
downloadbuildroot-novena-2016db44e815ddd5fc92ceea35ba439839d8c8b3.tar.gz
buildroot-novena-2016db44e815ddd5fc92ceea35ba439839d8c8b3.zip
package: add libnss
NSS is the Network Security Services library developed as part of the Mozilla project. It provides similar functions to OpenSSL but allows MPL, GPL and LGPL licensing. [Peter: fix target install] Signed-off-by: Will Newton <will.newton@imgtec.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libnss/libnss-uclibc.patch')
-rw-r--r--package/libnss/libnss-uclibc.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/libnss/libnss-uclibc.patch b/package/libnss/libnss-uclibc.patch
new file mode 100644
index 000000000..17e808084
--- /dev/null
+++ b/package/libnss/libnss-uclibc.patch
@@ -0,0 +1,19 @@
+
+uCLibc does not define RTLD_NOLOAD.
+
+Signed-off-by: Will Newton <will.newton@imgtec.com>
+
+--- nss-3.12.9.old/mozilla/security/nss/lib/freebl/stubs.c 2011-07-08 13:32:54.964338355 +0100
++++ nss-3.12.9/mozilla/security/nss/lib/freebl/stubs.c 2011-07-08 13:33:57.255337490 +0100
+@@ -535,6 +535,11 @@
+ return SECSuccess;
+ }
+
++/* uClibc does not define RTLD_NOLOAD. */
++#ifndef RTLD_NOLOAD
++#define RTLD_NOLOAD 0
++#endif
++
+ /*
+ * fetch the library if it's loaded. For NSS it should already be loaded
+ */