aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-04-23 02:53:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-04-23 02:53:03 +0000
commit7040d5b0843b667db07a8b004f4793c2338f7df7 (patch)
tree8bfd7ccd01a688b4f9c9db3a5bba35d974694987 /toolchain
parentde76e2862d2165e6848d32472bae306463b58fd3 (diff)
downloadupstream-7040d5b0843b667db07a8b004f4793c2338f7df7.tar.gz
upstream-7040d5b0843b667db07a8b004f4793c2338f7df7.tar.bz2
upstream-7040d5b0843b667db07a8b004f4793c2338f7df7.zip
uclibc: add the pthread daemon() fix from #4809
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15344 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-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 0000000000..92227cf418
--- /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 0000000000..92227cf418
--- /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 0000000000..92227cf418
--- /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 )
+ {