all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 9f133fcba560f4ad98e75393bf4faa251cdb1437 1588 bytes (raw)
name: gnu/packages/patches/ceph-fix-for-newer-boost.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
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
 
--- a/src/rgw/rgw_asio_client.cc	1970-01-01 01:00:01.000000000 +0100
+++ b/src/rgw/rgw_asio_client.cc	2024-09-11 08:33:21.723548804 +0200
@@ -39,11 +39,11 @@
     const auto& value = header->value();
 
     if (field == beast::http::field::content_length) {
-      env.set("CONTENT_LENGTH", value.to_string());
+      env.set("CONTENT_LENGTH", std::string(value));
       continue;
     }
     if (field == beast::http::field::content_type) {
-      env.set("CONTENT_TYPE", value.to_string());
+      env.set("CONTENT_TYPE", std::string(value));
       continue;
     }
 
@@ -62,26 +62,26 @@
     }
     *dest = '\0';
 
-    env.set(buf, value.to_string());
+    env.set(buf, std::string(value));
   }
 
   int major = request.version() / 10;
   int minor = request.version() % 10;
   env.set("HTTP_VERSION", std::to_string(major) + '.' + std::to_string(minor));
 
-  env.set("REQUEST_METHOD", request.method_string().to_string());
+  env.set("REQUEST_METHOD", std::string(request.method_string()));
 
   // split uri from query
   auto uri = request.target();
   auto pos = uri.find('?');
   if (pos != uri.npos) {
     auto query = uri.substr(pos + 1);
-    env.set("QUERY_STRING", query.to_string());
+    env.set("QUERY_STRING", std::string(query));
     uri = uri.substr(0, pos);
   }
-  env.set("SCRIPT_URI", uri.to_string());
+  env.set("SCRIPT_URI", std::string(uri));
 
-  env.set("REQUEST_URI", request.target().to_string());
+  env.set("REQUEST_URI", std::string(request.target()));
 
   char port_buf[16];
   snprintf(port_buf, sizeof(port_buf), "%d", local_endpoint.port());

debug log:

solving 9f133fcba5 ...
found 9f133fcba5 in https://yhetil.org/guix/e0f99999-4a4a-3668-cdbb-1ab5e351ace8@univ-nantes.fr/

applying [1/1] https://yhetil.org/guix/e0f99999-4a4a-3668-cdbb-1ab5e351ace8@univ-nantes.fr/
diff --git a/gnu/packages/patches/ceph-fix-for-newer-boost.patch b/gnu/packages/patches/ceph-fix-for-newer-boost.patch
new file mode 100644
index 0000000000..9f133fcba5

1:11: trailing whitespace.
 
1:22: trailing whitespace.
 
1:26: trailing whitespace.
 
1:30: trailing whitespace.
 
1:34: trailing whitespace.
 
Checking patch gnu/packages/patches/ceph-fix-for-newer-boost.patch...
Applied patch gnu/packages/patches/ceph-fix-for-newer-boost.patch cleanly.
warning: squelched 3 whitespace errors
warning: 8 lines add whitespace errors.

index at:
100644 9f133fcba560f4ad98e75393bf4faa251cdb1437	gnu/packages/patches/ceph-fix-for-newer-boost.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.