summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/chromium/files/chromium-dma-buf-r1.patch')
-rw-r--r--www-client/chromium/files/chromium-dma-buf-r1.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-dma-buf-r1.patch b/www-client/chromium/files/chromium-dma-buf-r1.patch
new file mode 100644
index 000000000000..6cc8d087d3f7
--- /dev/null
+++ b/www-client/chromium/files/chromium-dma-buf-r1.patch
@@ -0,0 +1,21 @@
+--- a/ui/gfx/linux/client_native_pixmap_dmabuf.cc.orig 2017-03-29 15:08:58.079790070 +0000
++++ b/ui/gfx/linux/client_native_pixmap_dmabuf.cc 2017-03-29 15:09:10.068039324 +0000
+@@ -17,7 +17,6 @@
+ #include "base/strings/stringprintf.h"
+ #include "base/trace_event/trace_event.h"
+
+-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 6, 0)
+ #include <linux/types.h>
+
+ struct local_dma_buf_sync {
+@@ -35,10 +34,6 @@
+ #define LOCAL_DMA_BUF_IOCTL_SYNC \
+ _IOW(LOCAL_DMA_BUF_BASE, 0, struct local_dma_buf_sync)
+
+-#else
+-#include <linux/dma-buf.h>
+-#endif
+-
+ namespace gfx {
+
+ namespace {