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

15 lines
675 B
Diff

Index: boost-1.81.0/libs/iostreams/test/stream_state_test.cpp
===================================================================
--- boost-1.81.0.orig/libs/iostreams/test/stream_state_test.cpp
+++ boost-1.81.0/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 seek 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));