]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/glibc/glibc-2.3.2/hurd-enable-ldconfig.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / glibc / glibc-2.3.2 / hurd-enable-ldconfig.patch
1 --- glibc-2.3.2.old/sysdeps/mach/hurd/configure 2003-02-25 19:46:36.000000000 -0500
2 +++ glibc-2.3.2/sysdeps/mach/hurd/configure     2003-04-08 17:35:13.000000000 -0400
3 @@ -115,3 +115,5 @@
4  _ACEOF
5  
6  fi
7 +
8 +use_ldconfig=yes
9 --- glibc-2.3.2.old/sysdeps/mach/hurd/configure.in      2002-10-23 02:21:18.000000000 -0400
10 +++ glibc-2.3.2/sysdeps/mach/hurd/configure.in  2003-04-08 17:35:17.000000000 -0400
11 @@ -62,3 +62,5 @@
12  fi])
13  
14  hurd_MIG_RETCODE
15 +
16 +use_ldconfig=yes
17 --- glibc-2.3.2.old/elf/ldconfig.c~ 2003-04-12 13:24:37.000000000 -0400
18 +++ glibc-2.3.2/elf/ldconfig.c  2003-04-12 13:25:00.000000000 -0400
19 @@ -49,6 +49,10 @@
20  
21  #define PACKAGE _libc_intl_domainname
22  
23 +#ifndef PATH_MAX
24 +#define PATH_MAX 1024
25 +#endif
26 +
27  static const struct
28  {
29    const char *name;
30 --- glibc-2.3.2.old/sysdeps/mach/hurd/dl-cache.c        2001-07-07 15:21:25.000000000 -0400
31 +++ glibc-2.3.2/sysdeps/mach/hurd/dl-cache.c    1969-12-31 19:00:00.000000000 -0500
32 @@ -1,29 +0,0 @@
33 -/* Stubby version of dl-cache; the Hurd doesn't support this "feature".
34 -   Copyright (C) 1996, 1997 Free Software Foundation, Inc.
35 -   This file is part of the GNU C Library.
36 -
37 -   The GNU C Library is free software; you can redistribute it and/or
38 -   modify it under the terms of the GNU Lesser General Public
39 -   License as published by the Free Software Foundation; either
40 -   version 2.1 of the License, or (at your option) any later version.
41 -
42 -   The GNU C Library is distributed in the hope that it will be useful,
43 -   but WITHOUT ANY WARRANTY; without even the implied warranty of
44 -   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
45 -   Lesser General Public License for more details.
46 -
47 -   You should have received a copy of the GNU Lesser General Public
48 -   License along with the GNU C Library; if not, write to the Free
49 -   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
50 -   02111-1307 USA.  */
51 -
52 -const char *
53 -_dl_load_cache_lookup (const char *name)
54 -{
55 -  return 0;
56 -}
57 -
58 -void
59 -_dl_unload_cache (void)
60 -{
61 -}