OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../glibc/ugly-no-nptl.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- glibc-20050919/nscd/nscd.h.vanilla 2005-11-05 14:47:31.000000000 +0100
  17. +++ glibc-20050919/nscd/nscd.h 2005-11-05 14:47:17.000000000 +0100
  18. @@ -25,6 +25,7 @@
  19. #include <stdbool.h>
  20. #include <time.h>
  21. #include <sys/uio.h>
  22. +#include <sys/socket.h>
  23. /* The declarations for the request and response types are in the file
  24. "nscd-client.h", which should contain everything needed by client
  25. --- glibc-20050919/malloc/memusage.c.vanilla 2005-11-05 13:54:54.000000000 +0100
  26. +++ glibc-20050919/malloc/memusage.c 2005-11-05 13:56:00.000000000 +0100
  27. @@ -83,7 +83,12 @@
  28. static memusage_cntr_t decreasing_mremap;
  29. static memusage_size_t current_heap;
  30. static memusage_size_t peak_use[3];
  31. +
  32. +#ifdef HAVE___THREAD
  33. static __thread uintptr_t start_sp;
  34. +#else
  35. +static uintptr_t start_sp;
  36. +#endif
  37. /* A few macros to make the source more readable. */
  38. #define peak_heap peak_use[0]