patches/glibc/2.3.3/glibc-2.3.3-allow-gcc-4.0-locale.patch
changeset 330 447b203edc2e
parent 329 419d959441ed
child 331 0c05f9ea3254
     1.1 --- a/patches/glibc/2.3.3/glibc-2.3.3-allow-gcc-4.0-locale.patch	Tue Aug 14 19:32:22 2007 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,34 +0,0 @@
     1.4 ---- glibc-2.3.3/locale/weight.h.old	2003-06-11 14:52:12.000000000 -0700
     1.5 -+++ glibc-2.3.3/locale/weight.h	2005-03-15 12:05:37.000000000 -0800
     1.6 -@@ -18,8 +18,14 @@
     1.7 -    02111-1307 USA.  */
     1.8 - 
     1.9 - /* Find index of weight.  */
    1.10 -+#if __GNUC__ >= 4
    1.11 -+auto inline int32_t
    1.12 -+#else
    1.13 - static inline int32_t
    1.14 -+#endif
    1.15 -+#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
    1.16 - __attribute ((always_inline))
    1.17 -+#endif
    1.18 - findidx (const unsigned char **cpp)
    1.19 - {
    1.20 -   int_fast32_t i = table[*(*cpp)++];
    1.21 ---- glibc-2.3.3/locale/weightwc.h.old	2003-06-13 13:44:58.000000000 -0700
    1.22 -+++ glibc-2.3.3/locale/weightwc.h	2005-03-15 12:06:46.000000000 -0800
    1.23 -@@ -18,8 +18,14 @@
    1.24 -    02111-1307 USA.  */
    1.25 - 
    1.26 - /* Find index of weight.  */
    1.27 -+#if __GNUC__ >= 4
    1.28 -+auto inline int32_t
    1.29 -+#else
    1.30 - static inline int32_t
    1.31 -+#endif
    1.32 -+#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
    1.33 - __attribute ((always_inline))
    1.34 -+#endif
    1.35 - findidx (const wint_t **cpp)
    1.36 - {
    1.37 -   int32_t i;