freebsd-ports/devel/electron26/files/patch-tools_gn_src_gn_version.h
Hiroki Tagato 9ad5184453 devel/electron26: 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/
2023-10-06 18:26:35 +09:00

15 lines
527 B
C++

--- tools/gn/src/gn/version.h.orig 2021-09-14 02:05:25 UTC
+++ tools/gn/src/gn/version.h
@@ -22,9 +22,9 @@ class Version {
static std::optional<Version> FromString(std::string s);
- int major() const { return major_; }
- int minor() const { return minor_; }
- int patch() const { return patch_; }
+ int gmajor() const { return major_; }
+ int gminor() const { return minor_; }
+ int gpatch() const { return patch_; }
bool operator==(const Version& other) const;
bool operator<(const Version& other) const;