ports/devel/electron28/files/patch-media_base_scopedfd__helper.h
Hiroki Tagato f88751e60a devel/electron28: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://electronjs.org/
2024-01-29 16:47:07 +09:00

11 lines
554 B
C

--- media/base/scopedfd_helper.h.orig 2022-02-28 16:54:41 UTC
+++ media/base/scopedfd_helper.h
@@ -15,7 +15,7 @@ namespace media {
// but since the only current user is V4L2 we are limiting the scope to OS_LINUX
// so the binary size does not inflate on non-using systems. Feel free to adapt
// this and BUILD.gn as our needs evolve.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Return a new vector containing duplicates of |fds|, or PCHECKs in case of an
// error.