michael@320: Index: config.guess michael@473: --- config.guess.orig 2011-06-06 12:34:35.000000000 +0200 michael@473: +++ config.guess 2012-07-21 09:15:05.000000000 +0200 michael@320: @@ -194,7 +194,7 @@ michael@320: release='-gnu' michael@320: ;; michael@320: *) michael@320: - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` michael@320: + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'` michael@320: ;; michael@320: esac michael@320: # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: michael@320: Index: gcc/config/i386/sol2.h michael@473: --- gcc/config/i386/sol2.h.orig 2011-08-01 14:14:21.000000000 +0200 michael@473: +++ gcc/config/i386/sol2.h 2012-07-21 09:15:05.000000000 +0200 michael@473: @@ -100,6 +100,9 @@ michael@320: #undef ASM_QUAD michael@320: #endif michael@320: michael@320: +#undef DEFAULT_PCC_STRUCT_RETURN michael@320: +#define DEFAULT_PCC_STRUCT_RETURN 1 michael@320: + michael@320: /* The Solaris assembler wants a .local for non-exported aliases. */ michael@320: #define ASM_OUTPUT_DEF_FROM_DECLS(FILE, DECL, TARGET) \ michael@320: do { \ michael@473: Index: gcc/config/sol2-bi.h michael@473: --- gcc/config/sol2-bi.h.orig 2011-07-07 11:24:16.000000000 +0200 michael@473: +++ gcc/config/sol2-bi.h 2012-07-21 09:31:52.000000000 +0200 michael@473: @@ -75,7 +75,7 @@ michael@473: %{YP,*} \ michael@473: %{R*} \ michael@473: %{!YP,*:%{p|pg:-Y P,%R/usr/lib/libp/" ARCH64_SUBDIR ":%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "} \ michael@473: - %{!p:%{!pg:-Y P,%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "}}}" michael@473: + %{!p:%{!pg:-Y P,%R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "}} -rpath-link %R/lib/" ARCH64_SUBDIR ":%R/usr/lib/" ARCH64_SUBDIR "}" michael@473: michael@473: #undef LINK_ARCH64_SPEC michael@473: #ifndef USE_GLD michael@320: Index: gcc/config/sol2.h michael@473: --- gcc/config/sol2.h.orig 2011-08-18 16:47:46.000000000 +0200 michael@473: +++ gcc/config/sol2.h 2012-07-21 09:15:05.000000000 +0200 michael@473: @@ -171,8 +171,8 @@ michael@332: "%{h*} %{v:-V} \ michael@320: %{!shared:%{!static:%{rdynamic: " RDYNAMIC_SPEC "}}} \ michael@320: %{static:-dn -Bstatic} \ michael@320: - %{shared:-G -dy %{!mimpure-text:-z text}} \ michael@320: - %{symbolic:-Bsymbolic -G -dy -z text} \ michael@320: + %{shared:-G -dy} \ michael@320: + %{symbolic:-Bsymbolic -G -dy} \ michael@473: %{pthreads|pthread|fprofile-generate*:" LIB_THREAD_LDFLAGS_SPEC "} \ michael@320: %(link_arch) \ michael@320: %{Qy:} %{!Qn:-Qy}" michael@320: Index: gcc/system.h michael@473: --- gcc/system.h.orig 2012-02-17 00:16:28.000000000 +0100 michael@473: +++ gcc/system.h 2012-07-21 09:15:05.000000000 +0200 michael@473: @@ -455,10 +455,6 @@ michael@473: } michael@320: #endif michael@320: michael@320: -#ifdef HAVE_MALLOC_H michael@320: -#include michael@320: -#endif michael@320: - michael@473: #ifdef __cplusplus michael@473: extern "C" { michael@320: #endif michael@320: Index: libcpp/charset.c michael@332: --- libcpp/charset.c.orig 2011-01-03 21:52:22.000000000 +0100 michael@473: +++ libcpp/charset.c 2012-07-21 09:15:05.000000000 +0200 michael@320: @@ -75,6 +75,7 @@ michael@320: #define iconv_open(x, y) (errno = EINVAL, (iconv_t)-1) michael@320: #define iconv(a,b,c,d,e) (errno = EINVAL, (size_t)-1) michael@320: #define iconv_close(x) (void)0 michael@320: +#undef ICONV_CONST michael@320: #define ICONV_CONST michael@320: #endif michael@320: michael@320: Index: libcpp/internal.h michael@473: --- libcpp/internal.h.orig 2012-01-09 09:48:43.000000000 +0100 michael@473: +++ libcpp/internal.h 2012-07-21 09:15:05.000000000 +0200 michael@320: @@ -29,6 +29,7 @@ michael@320: #if HAVE_ICONV michael@320: #include michael@320: #else michael@320: +#undef HAVE_ICONV michael@320: #define HAVE_ICONV 0 michael@320: typedef int iconv_t; /* dummy */ michael@320: #endif