chiark / gitweb /
eglibc (2.11.3-4+deb6u3) squeeze-lts; urgency=medium
[eglibc.git] / debian / patches / hurd-i386 / local-pthread.diff
1 Add LIBPTHREAD_SO macro to gnu/lib-names.h and disable nscd build
2 ---
3  nscd/Makefile         |    2 +-
4  scripts/lib-names.awk |    2 ++
5  2 files changed, 3 insertions(+), 1 deletion(-)
6
7 --- a/scripts/lib-names.awk
8 +++ b/scripts/lib-names.awk
9 @@ -61,6 +61,8 @@ END {
10      cmd = "LC_ALL=C sort"; print lines["DEFAULT"] | cmd; close(cmd);
11    }
12  
13 +  print "#define LIBPTHREAD_SO \"libpthread.so.0.3\""
14 +
15    print "";
16    print "#endif        /* gnu/lib-names.h */"
17  }
18 --- a/nscd/Makefile
19 +++ b/nscd/Makefile
20 @@ -36,7 +36,7 @@ nscd-modules := nscd connections pwdcache getpwnam_r getpwuid_r grpcache \
21  # own copy of nis_hash.
22  nscd-modules += nis_hash
23  endif
24 -ifeq ($(have-thread-library),yes)
25 +ifeq ($(have-thread-library),yesreallyyes)
26  
27  ifneq (yesyes,$(have-fpie)$(build-shared))
28  others-$(OPTION_EGLIBC_INET) += nscd