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
commit632f50b891326de135c0c938a2af7c7605ce3950 (patch)
treeeda318e1185f4e9f3cc8a4c02fdfcb502bce7b0a /toolchain
parent0d00b1cb591789959a4e75442e32b05f360f7b2e (diff)
downloadupstream-632f50b891326de135c0c938a2af7c7605ce3950.tar.gz
upstream-632f50b891326de135c0c938a2af7c7605ce3950.tar.bz2
upstream-632f50b891326de135c0c938a2af7c7605ce3950.zip
uclibc: add the pthread daemon() fix from #4809
SVN-Revision: 15344
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 )
+ {