summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chromium/build/patches/chromium_gpu_sharedmemorylimits.patch14
-rw-r--r--chromium/build/patches/chromium_rvalue-fix.patch14
2 files changed, 28 insertions, 0 deletions
diff --git a/chromium/build/patches/chromium_gpu_sharedmemorylimits.patch b/chromium/build/patches/chromium_gpu_sharedmemorylimits.patch
new file mode 100644
index 00000000..2f23c18b
--- /dev/null
+++ b/chromium/build/patches/chromium_gpu_sharedmemorylimits.patch
@@ -0,0 +1,14 @@
+Taken from:
+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207298
+
+--- chromium-56.0.2924.87/services/ui/public/cpp/gles2_context.cc.orig 2017-02-02 02:02:57 UTC
++++ chromium-56.0.2924.87/services/ui/public/cpp/gles2_context.cc
+@@ -46,7 +46,7 @@ bool GLES2Context::Initialize(
+ gpu::CommandBuffer* command_buffer = command_buffer_proxy_impl_.get();
+ gpu::GpuControl* gpu_control = command_buffer_proxy_impl_.get();
+
+- constexpr gpu::SharedMemoryLimits default_limits;
++ constexpr gpu::SharedMemoryLimits default_limits = gpu::SharedMemoryLimits();
+ gles2_helper_.reset(new gpu::gles2::GLES2CmdHelper(command_buffer));
+ if (!gles2_helper_->Initialize(default_limits.command_buffer_size))
+ return false;
diff --git a/chromium/build/patches/chromium_rvalue-fix.patch b/chromium/build/patches/chromium_rvalue-fix.patch
new file mode 100644
index 00000000..6b6abdb5
--- /dev/null
+++ b/chromium/build/patches/chromium_rvalue-fix.patch
@@ -0,0 +1,14 @@
+Taken from:
+http://pkgs.fedoraproject.org/cgit/rpms/chromium.git/plain/chromium-55.0.2883.87-rvalue-fix.patch
+
+--- chromium-55.0.2883.87/remoting/host/fake_desktop_environment.cc.rvalue 2016-12-14 11:19:16.150103994 -0500
++++ chromium-55.0.2883.87/remoting/host/fake_desktop_environment.cc 2016-12-14 11:19:44.003563271 -0500
+@@ -84,7 +84,7 @@ FakeDesktopEnvironment::CreateVideoCaptu
+ std::unique_ptr<DesktopCapturerProxy> result(
+ new DesktopCapturerProxy(capture_thread_));
+ result->set_capturer(std::move(fake_capturer));
+- return result;
++ return std::move(result);
+ }
+
+ std::unique_ptr<webrtc::MouseCursorMonitor>