void-packages/srcpkgs/boost/patches/iostream-test.patch

13 lines
519 B
Diff

--- a/libs/iostreams/test/stream_state_test.cpp
+++ b/libs/iostreams/test/stream_state_test.cpp
@@ -165,7 +165,8 @@ test_suite* init_unit_test_suite(int, ch
#endif
// MSSTL and libc++ don't handle exceptions from seekg correctly
-#if !defined(_CPPLIB_VER) && !defined(_LIBCPP_VERSION)
+// libstdc++?
+#if !defined(_CPPLIB_VER) && !defined(_LIBCPP_VERSION) && 0
test->add(BOOST_TEST_CASE(&wrap_nothrow <&test_seekg>::execute));
test->add(BOOST_TEST_CASE(&wrap_throw <&test_seekg>::execute));