all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 56b2cd6ef2cc212c77023fa9f0d255eaa1cb27da 1687 bytes (raw)
name: gnu/packages/patches/chromium-gcc5.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
 
Work around a GCC5 bug where it fails to choose the correct base::span
constructor.

Adapted from this commit:
https://gitweb.gentoo.org/repo/gentoo.git/commit/www-client/chromium?id=7843d29ab07411a9c70962fb90b4cd1546910242

--- a/gpu/ipc/common/mailbox_struct_traits.h
+++ b/gpu/ipc/common/mailbox_struct_traits.h
@@ -15,7 +15,7 @@ namespace mojo {
 template <>
 struct StructTraits<gpu::mojom::MailboxDataView, gpu::Mailbox> {
   static base::span<const int8_t> name(const gpu::Mailbox& mailbox) {
-    return mailbox.name;
+    return base::make_span(mailbox.name);
   }
   static bool Read(gpu::mojom::MailboxDataView data, gpu::Mailbox* out);
 };
--- a/services/viz/public/cpp/compositing/filter_operation_struct_traits.h
+++ b/services/viz/public/cpp/compositing/filter_operation_struct_traits.h
@@ -134,7 +134,7 @@ struct StructTraits<viz::mojom::FilterOperationDataView, cc::FilterOperation> {
   static base::span<const float> matrix(const cc::FilterOperation& operation) {
     if (operation.type() != cc::FilterOperation::COLOR_MATRIX)
       return base::span<const float>();
-    return operation.matrix();
+    return base::make_span(operation.matrix());
   }

   static base::span<const gfx::Rect> shape(
--- a/services/viz/public/cpp/compositing/quads_struct_traits.h
+++ b/services/viz/public/cpp/compositing/quads_struct_traits.h
@@ -308,7 +308,7 @@
   static base::span<const float> vertex_opacity(const viz::DrawQuad& input) {
     const viz::TextureDrawQuad* quad =
         viz::TextureDrawQuad::MaterialCast(&input);
-    return quad->vertex_opacity;
+    return base::make_span(quad->vertex_opacity);
   }
 
   static bool y_flipped(const viz::DrawQuad& input) {

debug log:

solving 56b2cd6ef ...
found 56b2cd6ef in https://yhetil.org/guix/87muzvv7ku.fsf@fastmail.com/ ||
	https://yhetil.org/guix/20180226181914.18955-1-mbakke@fastmail.com/

applying [1/1] https://yhetil.org/guix/87muzvv7ku.fsf@fastmail.com/
diff --git a/gnu/packages/patches/chromium-gcc5.patch b/gnu/packages/patches/chromium-gcc5.patch
new file mode 100644
index 000000000..56b2cd6ef

1:44: trailing whitespace.
 
Checking patch gnu/packages/patches/chromium-gcc5.patch...
Applied patch gnu/packages/patches/chromium-gcc5.patch cleanly.
warning: 1 line adds whitespace errors.

skipping https://yhetil.org/guix/20180226181914.18955-1-mbakke@fastmail.com/ for 56b2cd6ef
index at:
100644 56b2cd6ef2cc212c77023fa9f0d255eaa1cb27da	gnu/packages/patches/chromium-gcc5.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.