uclibc: add the pthread daemon() fix from #4809
authorFelix Fietkau <nbd@openwrt.org>
Thu, 23 Apr 2009 02:53:03 +0000 (02:53 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 23 Apr 2009 02:53:03 +0000 (02:53 +0000)
SVN-Revision: 15344

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 )
+ {