diff options
Diffstat (limited to 'www-client/chromium/files/chromium-dma-buf-r2.patch')
-rw-r--r-- | www-client/chromium/files/chromium-dma-buf-r2.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-dma-buf-r2.patch b/www-client/chromium/files/chromium-dma-buf-r2.patch new file mode 100644 index 000000000000..2de680cf0314 --- /dev/null +++ b/www-client/chromium/files/chromium-dma-buf-r2.patch @@ -0,0 +1,20 @@ +--- a/ui/gfx/linux/client_native_pixmap_dmabuf.cc.orig 2017-04-28 10:27:57.890505336 +0000 ++++ b/ui/gfx/linux/client_native_pixmap_dmabuf.cc 2017-04-28 10:28:17.726916569 +0000 +@@ -19,9 +19,6 @@ + #include "base/strings/stringprintf.h" + #include "base/trace_event/trace_event.h" + +-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0) +-#include <linux/dma-buf.h> +-#else + #include <linux/types.h> + + struct dma_buf_sync { +@@ -36,7 +33,6 @@ + + #define DMA_BUF_BASE 'b' + #define DMA_BUF_IOCTL_SYNC _IOW(DMA_BUF_BASE, 0, struct dma_buf_sync) +-#endif + + namespace gfx { + |