uClibc-weak-sigprocmask.patch 957 B

123456789101112131415161718192021
  1. 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
  2. --- uClibc-0.9.32.1.orig/libc/sysdeps/linux/common/sigprocmask.c 2011-12-30 12:11:07.000000000 +0100
  3. +++ uClibc-0.9.32.1/libc/sysdeps/linux/common/sigprocmask.c 2012-02-18 11:40:09.000000000 +0100
  4. @@ -23,7 +23,7 @@
  5. _syscall4(int, __rt_sigprocmask, int, how, const sigset_t *, set,
  6. sigset_t *, oldset, size_t, size)
  7. -int sigprocmask(int how, const sigset_t * set, sigset_t * oldset)
  8. +int weak_function sigprocmask(int how, const sigset_t * set, sigset_t * oldset)
  9. {
  10. #ifdef SIGCANCEL
  11. sigset_t local_newmask;
  12. @@ -58,7 +58,7 @@
  13. _syscall3(int, __syscall_sigprocmask, int, how, const sigset_t *, set,
  14. sigset_t *, oldset)
  15. -int sigprocmask(int how, const sigset_t * set, sigset_t * oldset)
  16. +int weak_function sigprocmask(int how, const sigset_t * set, sigset_t * oldset)
  17. {
  18. #ifdef SIGCANCEL
  19. sigset_t local_newmask;