patches/gcc/4.3.1/350-libstdc++-namespace.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jul 28 21:59:40 2008 +0000 (2008-07-28)
changeset 748 61cd4eb6034d
parent 746 b150d6f590fc
permissions -rw-r--r--
New patches to make glibc 2.6 and 2.6.1 build for Alpha.
Forwarded by Ioannis E. VENETIS.

/trunk/patches/glibc/2.6.1/200-alpha-ptr_mangle.patch | 103 103 0 0 ++++++++
/trunk/patches/glibc/2.6.1/190-alpha-atfcts.patch | 11 11 0 0 +
/trunk/patches/glibc/2.6.1/180-gcc-4.3-sysinclude-path.patch | 50 50 0 0 ++++
/trunk/patches/glibc/2.6.1/210-lll_lock_t.patch | 237 237 0 0 ++++++++++++++++++
/trunk/patches/glibc/2.6/200-alpha-ptr_mangle.patch | 103 103 0 0 ++++++++
/trunk/patches/glibc/2.6/190-alpha-atfcts.patch | 11 11 0 0 +
/trunk/patches/glibc/2.6/180-gcc-4.3-sysinclude-path.patch | 50 50 0 0 ++++
/trunk/patches/glibc/2.6/210-lll_lock_t.patch | 237 237 0 0 ++++++++++++++++++
/trunk/patches/glibc/ports-2.6.1/120-lll_lock_t.patch | 156 156 0 0 ++++++++++++
9 files changed, 958 insertions(+)
     1 Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.1/uclibc/90_all_306-libstdc++-namespace.patch
     2 diff -rup gcc-4.2.orig/libstdc++-v3/config/locale/uclibc/messages_members.h gcc-4.2/libstdc++-v3/config/locale/uclibc/messages_members.h
     3 diff -durN gcc-4.3.1.orig/libstdc++-v3/config/locale/uclibc/messages_members.h gcc-4.3.1/libstdc++-v3/config/locale/uclibc/messages_members.h
     4 --- gcc-4.3.1.orig/libstdc++-v3/config/locale/uclibc/messages_members.h	2008-06-10 14:58:54.000000000 +0200
     5 +++ gcc-4.3.1/libstdc++-v3/config/locale/uclibc/messages_members.h	2008-06-10 14:59:09.000000000 +0200
     6 @@ -32,7 +32,8 @@
     7  //
     8  
     9  // Written by Benjamin Kosnik <bkoz@redhat.com>
    10 -
    11 +namespace std
    12 +{
    13  #ifdef __UCLIBC_MJN3_ONLY__
    14  #warning fix prototypes for *textdomain funcs
    15  #endif
    16 @@ -115,3 +116,4 @@
    17  	   this->_S_create_c_locale(this->_M_c_locale_messages, __s); 
    18  	 }
    19       }
    20 +}
    21 diff -durN gcc-4.3.1.orig/libstdc++-v3/config/locale/uclibc/time_members.h gcc-4.3.1/libstdc++-v3/config/locale/uclibc/time_members.h
    22 --- gcc-4.3.1.orig/libstdc++-v3/config/locale/uclibc/time_members.h	2008-06-10 14:58:54.000000000 +0200
    23 +++ gcc-4.3.1/libstdc++-v3/config/locale/uclibc/time_members.h	2008-06-10 14:59:09.000000000 +0200
    24 @@ -33,7 +33,8 @@
    25  //
    26  
    27  // Written by Benjamin Kosnik <bkoz@redhat.com>
    28 -
    29 +namespace std
    30 +{
    31    template<typename _CharT>
    32      __timepunct<_CharT>::__timepunct(size_t __refs) 
    33      : facet(__refs), _M_data(NULL), _M_c_locale_timepunct(NULL), 
    34 @@ -74,3 +75,4 @@
    35        delete _M_data; 
    36        _S_destroy_c_locale(_M_c_locale_timepunct); 
    37      }
    38 +}