--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/gcc49/patches/011-libstdc++.configure.patch Wed Dec 16 20:20:50 2015 -0800
@@ -0,0 +1,30 @@
+# Stefan Teleman <[email protected]>
+# We want C99 features in libstdc++, which aren't available in
+# C++98/C++03 compilation mode.
+# So, as th original comments already say, enable C++11. This way
+# we get C99 features. Which is what ws wanted in the first place.
+# Internal patch. Solaris specific.
+--- libstdc++-v3/configure 2014-03-20 11:57:07.000000000 -0700
++++ libstdc++-v3/configure 2015-08-04 14:40:26.316783257 -0700
+@@ -16549,8 +16549,9 @@
+ # spuriously enabled.
+ # Long term, -std=c++0x could be even better, could manage to explicitly
+ # request C99 facilities to the underlying C headers.
++ # Not on Solaris. This breaks C99 for no valid reason.
+ ac_save_CXXFLAGS="$CXXFLAGS"
+- CXXFLAGS="$CXXFLAGS -std=c++98"
++ CXXFLAGS="$CXXFLAGS -std=c++11"
+ ac_save_LIBS="$LIBS"
+ ac_save_gcc_no_link="$gcc_no_link"
+
+@@ -18709,8 +18710,9 @@
+
+ # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
+ # undefined and fake C99 facilities may be spuriously enabled.
++ # Not on Solaris. This breaks C99 for no valid reason.
+ ac_save_CXXFLAGS="$CXXFLAGS"
+- CXXFLAGS="$CXXFLAGS -std=c++98"
++ CXXFLAGS="$CXXFLAGS -std=c++11"
+
+ # Check for the existence of <complex.h> complex math functions used
+ # by tr1/complex.