summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2012-12-13 00:46:27 +0000
committerVincent Sanders <vince@kyllikki.org>2012-12-13 00:46:27 +0000
commit77e33af042e8cae74fab188ecd94e6adbcd844fc (patch)
tree40664778635598629afdaac7c842c61c9b9dfb78 /sdk/recipes/patches
parent6ffb88792a63ed15117b01aae9ac844f7b6da1dc (diff)
downloadtoolchains-77e33af042e8cae74fab188ecd94e6adbcd844fc.tar.gz
toolchains-77e33af042e8cae74fab188ecd94e6adbcd844fc.tar.bz2
Use information and patch from Chris Gransden to make nspr compile with pthreads
Diffstat (limited to 'sdk/recipes/patches')
-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;
+