vapier      15/12/05 21:12:19

  Added:                90_all_100-uclibc-conf.patch
                        90_all_301-missing-execinfo_h.patch
                        90_all_302-c99-snprintf.patch
  Log:
  initial 5.3.0 patchset based on last 5.2.0 patchset

Revision  Changes    Path
1.1                  src/patchsets/gcc/5.3.0/uclibc/90_all_100-uclibc-conf.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/5.3.0/uclibc/90_all_100-uclibc-conf.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/5.3.0/uclibc/90_all_100-uclibc-conf.patch?rev=1.1&content-type=text/plain

Index: 90_all_100-uclibc-conf.patch
===================================================================
--- gcc/contrib/regression/objs-gcc.sh
+++ gcc/contrib/regression/objs-gcc.sh
@@ -105,6 +105,10 @@
  then
   make all-gdb all-dejagnu all-ld || exit 1
   make install-gdb install-dejagnu install-ld || exit 1
+elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
+ then
+  make all-gdb all-dejagnu all-ld || exit 1
+  make install-gdb install-dejagnu install-ld || exit 1
 elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
   make bootstrap || exit 1
   make install || exit 1
--- gcc/libjava/classpath/ltconfig
+++ gcc/libjava/classpath/ltconfig
@@ -603,7 +603,7 @@
 
 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
 case $host_os in
-linux-gnu*) ;;
+linux-gnu*|linux-uclibc*) ;;
 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
 esac
 
@@ -1251,7 +1251,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   version_type=linux
   need_lib_prefix=no
   need_version=no



1.1                  
src/patchsets/gcc/5.3.0/uclibc/90_all_301-missing-execinfo_h.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/5.3.0/uclibc/90_all_301-missing-execinfo_h.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/5.3.0/uclibc/90_all_301-missing-execinfo_h.patch?rev=1.1&content-type=text/plain

Index: 90_all_301-missing-execinfo_h.patch
===================================================================
--- gcc-4.0.0/boehm-gc/include/gc.h-orig        2005-04-28 22:28:57.000000000 
-0500
+++ gcc-4.0.0/boehm-gc/include/gc.h     2005-04-28 22:30:38.000000000 -0500
@@ -500,7 +500,7 @@
 #ifdef __linux__
 # include <features.h>
 # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \
-     && !defined(__ia64__)
+     && !defined(__ia64__) && !defined(__UCLIBC__)
 #   ifndef GC_HAVE_BUILTIN_BACKTRACE
 #     define GC_HAVE_BUILTIN_BACKTRACE
 #   endif



1.1                  
src/patchsets/gcc/5.3.0/uclibc/90_all_302-c99-snprintf.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/5.3.0/uclibc/90_all_302-c99-snprintf.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/5.3.0/uclibc/90_all_302-c99-snprintf.patch?rev=1.1&content-type=text/plain

Index: 90_all_302-c99-snprintf.patch
===================================================================
Index: gcc-4.3.0/libstdc++-v3/include/c_global/cstdio
===================================================================
--- gcc-4.3.0/libstdc++-v3/include/c_global/cstdio      (revision 129202)
+++ gcc-4.3.0/libstdc++-v3/include/c_global/cstdio      (working copy)
@@ -144,7 +144,7 @@
 
 _GLIBCXX_END_NAMESPACE
 
-#if _GLIBCXX_USE_C99
+#if _GLIBCXX_USE_C99 || defined __UCLIBC__
 
 #undef snprintf
 #undef vfscanf




Reply via email to