patches/gcc/4.2.3/306-libstdc++-namespace.patch
changeset 747 d3e603e7c17c
parent 746 b150d6f590fc
child 748 61cd4eb6034d
     1.1 --- a/patches/gcc/4.2.3/306-libstdc++-namespace.patch	Mon Jul 28 21:08:01 2008 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,36 +0,0 @@
     1.4 -diff -durN gcc-4.2.1.orig/libstdc++-v3/config/locale/uclibc/messages_members.h gcc-4.2.1/libstdc++-v3/config/locale/uclibc/messages_members.h
     1.5 ---- gcc-4.2.1.orig/libstdc++-v3/config/locale/uclibc/messages_members.h	2007-08-03 20:31:54.000000000 +0200
     1.6 -+++ gcc-4.2.1/libstdc++-v3/config/locale/uclibc/messages_members.h	2007-08-03 20:35:40.000000000 +0200
     1.7 -@@ -32,7 +32,8 @@
     1.8 - //
     1.9 - 
    1.10 - // Written by Benjamin Kosnik <bkoz@redhat.com>
    1.11 --
    1.12 -+namespace std
    1.13 -+{
    1.14 - #ifdef __UCLIBC_MJN3_ONLY__
    1.15 - #warning fix prototypes for *textdomain funcs
    1.16 - #endif
    1.17 -@@ -115,3 +116,4 @@
    1.18 - 	   this->_S_create_c_locale(this->_M_c_locale_messages, __s); 
    1.19 - 	 }
    1.20 -      }
    1.21 -+}
    1.22 -diff -durN gcc-4.2.1.orig/libstdc++-v3/config/locale/uclibc/time_members.h gcc-4.2.1/libstdc++-v3/config/locale/uclibc/time_members.h
    1.23 ---- gcc-4.2.1.orig/libstdc++-v3/config/locale/uclibc/time_members.h	2007-08-03 20:31:54.000000000 +0200
    1.24 -+++ gcc-4.2.1/libstdc++-v3/config/locale/uclibc/time_members.h	2007-08-03 20:35:40.000000000 +0200
    1.25 -@@ -33,7 +33,8 @@
    1.26 - //
    1.27 - 
    1.28 - // Written by Benjamin Kosnik <bkoz@redhat.com>
    1.29 --
    1.30 -+namespace std
    1.31 -+{
    1.32 -   template<typename _CharT>
    1.33 -     __timepunct<_CharT>::__timepunct(size_t __refs) 
    1.34 -     : facet(__refs), _M_data(NULL), _M_c_locale_timepunct(NULL), 
    1.35 -@@ -74,3 +75,4 @@
    1.36 -       delete _M_data; 
    1.37 -       _S_destroy_c_locale(_M_c_locale_timepunct); 
    1.38 -     }
    1.39 -+}