diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-02-18 11:59:42 +0100 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-02-18 11:59:42 +0100 |
commit | 9db751639196ee0033f2f5aa4779ff4d1ee31be7 (patch) | |
tree | 8a8b894a78ed04b6078100f65b3dffcdf7929109 /toolchain/uClibc/patches/uClibc-weak-sigprocmask.patch | |
parent | d51758f8a9853407196136db1c2fb97954d32019 (diff) |
update to 0.9.32.1, add patches to allow static linking of threaded applications as x11vnc
Diffstat (limited to 'toolchain/uClibc/patches/uClibc-weak-sigprocmask.patch')
-rw-r--r-- | toolchain/uClibc/patches/uClibc-weak-sigprocmask.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/uClibc-weak-sigprocmask.patch b/toolchain/uClibc/patches/uClibc-weak-sigprocmask.patch new file mode 100644 index 000000000..a98f5b94d --- /dev/null +++ b/toolchain/uClibc/patches/uClibc-weak-sigprocmask.patch @@ -0,0 +1,21 @@ +diff -Nur uClibc-0.9.32.1.orig/libc/sysdeps/linux/common/sigprocmask.c uClibc-0.9.32.1/libc/sysdeps/linux/common/sigprocmask.c +--- uClibc-0.9.32.1.orig/libc/sysdeps/linux/common/sigprocmask.c 2011-12-30 12:11:07.000000000 +0100 ++++ uClibc-0.9.32.1/libc/sysdeps/linux/common/sigprocmask.c 2012-02-18 11:40:09.000000000 +0100 +@@ -23,7 +23,7 @@ + _syscall4(int, __rt_sigprocmask, int, how, const sigset_t *, set, + sigset_t *, oldset, size_t, size) + +-int sigprocmask(int how, const sigset_t * set, sigset_t * oldset) ++int weak_function sigprocmask(int how, const sigset_t * set, sigset_t * oldset) + { + #ifdef SIGCANCEL + sigset_t local_newmask; +@@ -58,7 +58,7 @@ + _syscall3(int, __syscall_sigprocmask, int, how, const sigset_t *, set, + sigset_t *, oldset) + +-int sigprocmask(int how, const sigset_t * set, sigset_t * oldset) ++int weak_function sigprocmask(int how, const sigset_t * set, sigset_t * oldset) + { + #ifdef SIGCANCEL + sigset_t local_newmask; |