diff options
Diffstat (limited to 'devel/electron4/files/patch-ui_gfx_native__pixmap__handle.cc')
-rw-r--r-- | devel/electron4/files/patch-ui_gfx_native__pixmap__handle.cc | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/devel/electron4/files/patch-ui_gfx_native__pixmap__handle.cc b/devel/electron4/files/patch-ui_gfx_native__pixmap__handle.cc deleted file mode 100644 index e6e30eb3e98b..000000000000 --- a/devel/electron4/files/patch-ui_gfx_native__pixmap__handle.cc +++ /dev/null @@ -1,28 +0,0 @@ ---- ui/gfx/native_pixmap_handle.cc.orig 2019-03-15 06:26:44 UTC -+++ ui/gfx/native_pixmap_handle.cc -@@ -4,14 +4,14 @@ - - #include "ui/gfx/native_pixmap_handle.h" - --#if defined(OS_LINUX) -+#if defined(OS_LINUX) || defined(OS_BSD) - #include <drm_fourcc.h> - #include "base/posix/eintr_wrapper.h" - #endif - - namespace gfx { - --#if defined(OS_LINUX) -+#if defined(OS_LINUX) || defined(OS_BSD) - static_assert(NativePixmapPlane::kNoModifier == DRM_FORMAT_MOD_INVALID, - "gfx::NativePixmapPlane::kNoModifier should be an alias for" - "DRM_FORMAT_MOD_INVALID"); -@@ -36,7 +36,7 @@ NativePixmapHandle::NativePixmapHandle(const NativePix - - NativePixmapHandle::~NativePixmapHandle() {} - --#if defined(OS_LINUX) -+#if defined(OS_LINUX) || defined(OS_BSD) - NativePixmapHandle CloneHandleForIPC(const NativePixmapHandle& handle) { - NativePixmapHandle clone; - std::vector<base::ScopedFD> scoped_fds; |