ports/devel/electron34/files/patch-base_files_drive__info.h
Hiroki Tagato 65178207cf devel/electron34: 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/
2025-03-14 18:46:06 +09:00

12 lines
455 B
C++

--- base/files/drive_info.h.orig 2025-01-27 17:37:37 UTC
+++ base/files/drive_info.h
@@ -40,7 +40,7 @@ class BASE_EXPORT DriveInfo {
std::optional<bool> has_seek_penalty;
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
- BUILDFLAG(IS_CHROMEOS)
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Whether the drive is a removable drive.
//
// Note on macOS: that SSDs that are connected over USB that you can eject