patches/gcc/4.3.0/850-306-libstdc++-namespace.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Jun 11 21:45:57 2008 +0000 (2008-06-11)
changeset 554 be6197b5b33b
permissions -rw-r--r--
Include the full version number in the directory paths installed.
Change the version string so that it does not break 'make', and so that it has no '/' (it would be a hell if installed directories would mirror the SVN branches... :-/ )
Do not use implicit rules for the Makefile.
Simplify and enc=hance the --local test to refuse (un)installing.
Double-quotes variables, they are based on user input.
Eye-candy in the 'compile' and install messages.

/trunk/configure | 26 14 12 0 ++++++++++---------
/trunk/Makefile.in | 83 45 38 0 +++++++++++++++++++++++++++++++++---------------------------
2 files changed, 59 insertions(+), 50 deletions(-)
     1 Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.0/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.0.orig/libstdc++-v3/config/locale/uclibc/messages_members.h gcc-4.3.0/libstdc++-v3/config/locale/uclibc/messages_members.h
     4 --- gcc-4.3.0.orig/libstdc++-v3/config/locale/uclibc/messages_members.h	2008-06-10 14:45:50.000000000 +0200
     5 +++ gcc-4.3.0/libstdc++-v3/config/locale/uclibc/messages_members.h	2008-06-10 14:46:05.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.0.orig/libstdc++-v3/config/locale/uclibc/time_members.h gcc-4.3.0/libstdc++-v3/config/locale/uclibc/time_members.h
    22 --- gcc-4.3.0.orig/libstdc++-v3/config/locale/uclibc/time_members.h	2008-06-10 14:45:50.000000000 +0200
    23 +++ gcc-4.3.0/libstdc++-v3/config/locale/uclibc/time_members.h	2008-06-10 14:46:05.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 +}