components/stdcxx/patches/035-iostream.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Fri, 17 Aug 2012 01:44:04 -0700
changeset 951 ca69cdd365db
parent 402 94ae4d75524c
permissions -rw-r--r--
7192237 wireshark and tshark binaries don't require extra privileges

--- stdcxx-4.2.1/include/iostream	2008-04-24 20:23:57.000000000 -0400
+++ stdcxx-4.2.1/include/iostream	2009-07-29 17:13:40.554302000 -0400
@@ -43,6 +43,11 @@
 // static stream initializer object defined in every translation unit
 // that (directly or otherwise) #includes this header (except the one
 // that defines iostream objects to prevent undesirable dependencies)
+
+#if defined(_RWSTD_STRICT_SPARCV8_MUTEX_ALIGNMENT)
+#  pragma align 8(__rw_stream_initializer)
+#endif
+
 static _STD::ios_base::Init __rw_stream_initializer;
 
 }   // namespace __rw