uclibc: add the pthread daemon() fix from #4809
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 23 Apr 2009 02:53:03 +0000 (02:53 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 23 Apr 2009 02:53:03 +0000 (02:53 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15344 3c298f89-4303-0410-b956-a3cf2f4a3e73

toolchain/uClibc/patches-0.9.29/230-pthread_weak_binding.patch [new file with mode: 0644]
toolchain/uClibc/patches-0.9.30/130-pthread_weak_binding.patch [new file with mode: 0644]
toolchain/uClibc/patches-nptl/130-pthread_weak_binding.patch [new file with mode: 0644]

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 (file)
index 0000000..92227cf
--- /dev/null
@@ -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 (file)
index 0000000..92227cf
--- /dev/null
@@ -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 (file)
index 0000000..92227cf
--- /dev/null
@@ -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 )
+ {