www-client/chromium: update memcpy patch
authorMike Gilbert <floppym@gentoo.org>
Sat, 9 Dec 2017 23:26:37 +0000 (18:26 -0500)
committerMike Gilbert <floppym@gentoo.org>
Sat, 9 Dec 2017 23:27:11 +0000 (18:27 -0500)
Package-Manager: Portage-2.3.17, Repoman-2.3.6_p24

www-client/chromium/files/chromium-memcpy-r0.patch

index 618a2e6e0dc7aee4b6766b5794d44494c6a6cb18..dd2fd57d26a62ef7c0cd5a7e4dc2b7a9ccf69cef 100644 (file)
@@ -1,11 +1,35 @@
+From 4942f56ceb6d60d6f54ebca8e6eba8ba01c278e8 Mon Sep 17 00:00:00 2001
+From: Tomas Popela <tomas.popela@gmail.com>
+Date: Thu, 7 Dec 2017 22:33:34 +0000
+Subject: [PATCH] memcpy used without including string.h
+
+Compiling Chromium with Clang 4.0.1 and using libstdc++ will fail on using
+memcpy without including string.h.
+
+Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
+Change-Id: Idced1d5de3baf6b520d4a2d61774120642ead1a8
+Reviewed-on: https://chromium-review.googlesource.com/813737
+Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
+Reviewed-by: vmpstr <vmpstr@chromium.org>
+Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
+Cr-Commit-Position: refs/heads/master@{#522579}
+---
+ cc/paint/raw_memory_transfer_cache_entry.cc | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/cc/paint/raw_memory_transfer_cache_entry.cc b/cc/paint/raw_memory_transfer_cache_entry.cc
+index 9e4660c685ee..95ad50b1a338 100644
 --- a/cc/paint/raw_memory_transfer_cache_entry.cc
 +++ b/cc/paint/raw_memory_transfer_cache_entry.cc
 @@ -4,6 +4,8 @@
  
  #include "cc/paint/raw_memory_transfer_cache_entry.h"
  
-+#include <cstring>
++#include <string.h>
 +
  namespace cc {
  
  ClientRawMemoryTransferCacheEntry::ClientRawMemoryTransferCacheEntry(
+-- 
+2.15.1
+