summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-23 02:53:03 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-23 02:53:03 +0000
commit54c0f5e0cbcc11936b8ef02de0b3a249af477b6f (patch)
tree8bfd7ccd01a688b4f9c9db3a5bba35d974694987
parentb13ea33189a91d7ae373a5d7b32cd9151ffd6efb (diff)
uclibc: add the pthread daemon() fix from #4809
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15344 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--toolchain/uClibc/patches-0.9.29/230-pthread_weak_binding.patch10
-rw-r--r--toolchain/uClibc/patches-0.9.30/130-pthread_weak_binding.patch10
-rw-r--r--toolchain/uClibc/patches-nptl/130-pthread_weak_binding.patch10
3 files changed, 30 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.29/230-pthread_weak_binding.patch b/toolchain/uClibc/patches-0.9.29/230-pthread_weak_binding.patch
new file mode 100644
index 000000000..92227cf41
--- /dev/null
+++ b/toolchain/uClibc/patches-0.9.29/230-pthread_weak_binding.patch
@@ -0,0 +1,10 @@
+--- a/libc/unistd/daemon.c
++++ b/libc/unistd/daemon.c
+@@ -54,7 +54,6 @@
+ libc_hidden_proto(dup2)
+ libc_hidden_proto(setsid)
+ libc_hidden_proto(chdir)
+-libc_hidden_proto(fork)
+
+ int daemon( int nochdir, int noclose )
+ {
diff --git a/toolchain/uClibc/patches-0.9.30/130-pthread_weak_binding.patch b/toolchain/uClibc/patches-0.9.30/130-pthread_weak_binding.patch
new file mode 100644
index 000000000..92227cf41
--- /dev/null
+++ b/toolchain/uClibc/patches-0.9.30/130-pthread_weak_binding.patch
@@ -0,0 +1,10 @@
+--- a/libc/unistd/daemon.c
++++ b/libc/unistd/daemon.c
+@@ -54,7 +54,6 @@
+ libc_hidden_proto(dup2)
+ libc_hidden_proto(setsid)
+ libc_hidden_proto(chdir)
+-libc_hidden_proto(fork)
+
+ int daemon( int nochdir, int noclose )
+ {
diff --git a/toolchain/uClibc/patches-nptl/130-pthread_weak_binding.patch b/toolchain/uClibc/patches-nptl/130-pthread_weak_binding.patch
new file mode 100644
index 000000000..92227cf41
--- /dev/null
+++ b/toolchain/uClibc/patches-nptl/130-pthread_weak_binding.patch
@@ -0,0 +1,10 @@
+--- a/libc/unistd/daemon.c
++++ b/libc/unistd/daemon.c
+@@ -54,7 +54,6 @@
+ libc_hidden_proto(dup2)
+ libc_hidden_proto(setsid)
+ libc_hidden_proto(chdir)
+-libc_hidden_proto(fork)
+
+ int daemon( int nochdir, int noclose )
+ {