From 632f50b891326de135c0c938a2af7c7605ce3950 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 23 Apr 2009 02:53:03 +0000 Subject: [PATCH] uclibc: add the pthread daemon() fix from #4809 SVN-Revision: 15344 --- .../patches-0.9.29/230-pthread_weak_binding.patch | 10 ++++++++++ .../patches-0.9.30/130-pthread_weak_binding.patch | 10 ++++++++++ .../uClibc/patches-nptl/130-pthread_weak_binding.patch | 10 ++++++++++ 3 files changed, 30 insertions(+) create mode 100644 toolchain/uClibc/patches-0.9.29/230-pthread_weak_binding.patch create mode 100644 toolchain/uClibc/patches-0.9.30/130-pthread_weak_binding.patch create mode 100644 toolchain/uClibc/patches-nptl/130-pthread_weak_binding.patch 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 ) + { -- 2.30.2