220-libpthread_sysdep_fixes.patch 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --- /dev/null
  2. +++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
  3. @@ -0,0 +1,24 @@
  4. +/* Copyright (C) 2003, 2004 Free Software Foundation, Inc.
  5. + This file is part of the GNU C Library.
  6. + Contributed by Guido Guenther <[email protected]>, 2003.
  7. +
  8. + The GNU C Library is free software; you can redistribute it and/or
  9. + modify it under the terms of the GNU Lesser General Public
  10. + License as published by the Free Software Foundation; either
  11. + version 2.1 of the License, or (at your option) any later version.
  12. +
  13. + The GNU C Library is distributed in the hope that it will be useful,
  14. + but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. + Lesser General Public License for more details.
  17. +
  18. + You should have received a copy of the GNU Lesser General Public
  19. + License along with the GNU C Library; if not, write to the Free
  20. + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
  21. + 02111-1307 USA. */
  22. +
  23. +#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
  24. +
  25. +# define SINGLE_THREAD_P (1)
  26. +
  27. +#endif
  28. --- a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/sysdep-cancel.h
  29. +++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/sysdep-cancel.h
  30. @@ -17,7 +17,6 @@
  31. Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
  32. 02111-1307 USA. */
  33. -#include <sysdep.h>
  34. #ifndef __ASSEMBLER__
  35. # include <linuxthreads/internals.h>
  36. #endif