From 66b5d33c4ff8d146fa7f0e6e642008ac7e8cfb9d Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Fri, 14 Apr 2023 11:43:38 +0200 Subject: Revert "gnu: gcc-11: Fix build on powerpc64le." This reverts commit 9900f9e9b86550e7d336b04ad46fba088e28cbd6. --- gnu/packages/patches/gcc-11-libstdc++-powerpc.patch | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 gnu/packages/patches/gcc-11-libstdc++-powerpc.patch (limited to 'gnu/packages/patches/gcc-11-libstdc++-powerpc.patch') diff --git a/gnu/packages/patches/gcc-11-libstdc++-powerpc.patch b/gnu/packages/patches/gcc-11-libstdc++-powerpc.patch deleted file mode 100644 index aff2ef16f1..0000000000 --- a/gnu/packages/patches/gcc-11-libstdc++-powerpc.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -u -r gcc-11.3.0.alt/libstdc++-v3/src/c++17/floating_from_chars.cc gcc-11.3.0/libstdc++-v3/src/c++17/floating_from_chars.cc ---- gcc-11.3.0.alt/libstdc++-v3/src/c++17/floating_from_chars.cc 2023-04-13 11:36:08.169841428 +0200 -+++ gcc-11.3.0/libstdc++-v3/src/c++17/floating_from_chars.cc 2023-04-13 11:36:54.825827304 +0200 -@@ -495,8 +495,14 @@ - from_chars(const char* first, const char* last, __ieee128& value, - chars_format fmt) noexcept - { -+#if _GLIBCXX_USE_CXX11_ABI - buffer_resource mr; - pmr::string buf(&mr); -+#else -+ string buf; -+ if (!reserve_string(buf)) -+ return make_result(first, 0, {}, ec); -+#endif - size_t len = 0; - errc ec = errc::invalid_argument; - __try -- cgit v1.2.3