Mercurial > hg > aboriginal
annotate sources/patches/uClibc-fixlocalestruct.patch @ 1458:60f1087591ac
Add ability to specify a package to rebuild to build.sh with REBUILD= (and then dependencies take it from there to the system image).
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 20 Oct 2011 02:02:10 -0500 |
parents | 92d5df091df4 |
children |
rev | line source |
---|---|
1292
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
1 diff -ruN uClibc/libc/sysdeps/linux/common/bits/uClibc_locale.h uClibc.bak/libc/sysdeps/linux/common/bits/uClibc_locale.h |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
2 --- uClibc/libc/sysdeps/linux/common/bits/uClibc_locale.h 2010-04-02 10:34:27.000000000 -0500 |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
3 +++ uClibc.bak/libc/sysdeps/linux/common/bits/uClibc_locale.h 2010-11-10 15:11:31.000000000 -0600 |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
4 @@ -41,11 +41,9 @@ |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
5 |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
6 # define __LOCALE_C_ONLY |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
7 |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
8 -# ifdef _LIBC |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
9 # define __XL_NPP(N) N |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
10 # define __LOCALE_PARAM |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
11 # define __LOCALE_ARG |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
12 -# endif |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
13 |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
14 #endif |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
15 |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
16 @@ -90,8 +88,6 @@ |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
17 struct __uclibc_locale_struct; |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
18 typedef struct __uclibc_locale_struct *__locale_t; |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
19 |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
20 -#ifdef _LIBC |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
21 - |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
22 /* extern void _locale_set(const unsigned char *p); */ |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
23 /* extern void _locale_init(void); */ |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
24 |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
25 @@ -367,8 +363,6 @@ |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
26 #endif |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
27 /**********************************************************************/ |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
28 |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
29 -#endif /* _LIBC */ |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
30 - |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
31 #endif /* !defined(__LOCALE_C_ONLY) */ |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
32 |
92d5df091df4
Any attempt to actually _use_ the locale stuff fails dereferencing incomplete types because the guts of the headers (where the actual struct contents are defined) get zapped during install by unifdef on _LIBC guards. Rip the unnecessary #ifdefs out. See thread at http://lists.uclibc.org/pipermail/uclibc/2010-July/044185.html
Rob Landley <rob@landley.net>
parents:
diff
changeset
|
33 #endif /* _UCLIBC_LOCALE_H */ |