unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob c0b96c3bc81085a5b8f8340b0eb3436ae5f3abb0 592 bytes (raw)
name: gnu/packages/patches/foo.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
 
--- a/libstdc++-v3/src/c++17/floating_from_chars.cc
+++ b/libstdc++-v3/src/c++17/floating_from_chars.cc
@@ -495,10 +495,16 @@
 from_chars(const char* first, const char* last, __ieee128& value,
          chars_format fmt) noexcept
 {
+  errc ec = errc::invalid_argument;
+#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
     {
       if (const char* pat = pattern(first, last, fmt, buf)) [[likely]]

debug log:

solving 5f3ccda91d ...
found 5f3ccda91d in https://yhetil.org/guix-devel/87mt3byjrp.fsf@cbaines.net/

applying [1/1] https://yhetil.org/guix-devel/87mt3byjrp.fsf@cbaines.net/
diff --git a/gnu/packages/patches/foo.patch b/gnu/packages/patches/foo.patch
new file mode 100644
index 0000000000..5f3ccda91d

Checking patch gnu/packages/patches/foo.patch...
Applied patch gnu/packages/patches/foo.patch cleanly.

index at:
100644 c0b96c3bc81085a5b8f8340b0eb3436ae5f3abb0	gnu/packages/patches/foo.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).