summaryrefslogtreecommitdiff
path: root/sdk/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'sdk/recipes')
-rw-r--r--sdk/recipes/patches/nspr/arm-unknown-riscos/ptthread.c.p11
1 files changed, 11 insertions, 0 deletions
diff --git a/sdk/recipes/patches/nspr/arm-unknown-riscos/ptthread.c.p b/sdk/recipes/patches/nspr/arm-unknown-riscos/ptthread.c.p
new file mode 100644
index 0000000..8eb6824
--- /dev/null
+++ b/sdk/recipes/patches/nspr/arm-unknown-riscos/ptthread.c.p
@@ -0,0 +1,11 @@
+--- mozilla/nsprpub/pr/src/pthreads/ptthread.c.orig 2012-12-11 13:03:16.440827000 +0000
++++ mozilla/nsprpub/pr/src/pthreads/ptthread.c 2012-12-11 13:03:42.923932000 +0000
+@@ -1651,7 +1651,7 @@
+ #endif
+
+ *(void**)(&dynamic_pthread_setname_np) =
+- dlsym(RTLD_DEFAULT, "pthread_setname_np");
++ dlsym(RTLD_GLOBAL, "pthread_setname_np");
+ if (!dynamic_pthread_setname_np)
+ return PR_SUCCESS;
+