* updated glibc (2.40 -> 2.41)
[t2sde.git] / architecture / sparc / package / glibc / ugly-no-nptl.patch
blob53a9ccb3287952b38e27c1683137184e11cf9d3b
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../glibc/ugly-no-nptl.patch
5 # Copyright (C) 2004 - 2005 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 # --- T2-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>
24 /* The declarations for the request and response types are in the file
25 "nscd-client.h", which should contain everything needed by client
26 --- glibc-20050919/malloc/memusage.c.vanilla 2005-11-05 13:54:54.000000000 +0100
27 +++ glibc-20050919/malloc/memusage.c 2005-11-05 13:56:00.000000000 +0100
28 @@ -83,7 +83,12 @@
29 static memusage_cntr_t decreasing_mremap;
30 static memusage_size_t current_heap;
31 static memusage_size_t peak_use[3];
33 +#ifdef HAVE___THREAD
34 static __thread uintptr_t start_sp;
35 +#else
36 +static uintptr_t start_sp;
37 +#endif
39 /* A few macros to make the source more readable. */
40 #define peak_heap peak_use[0]