diff options
Diffstat (limited to 'www/chromium/files/patch-tools_gn_src_gn_version.h')
-rw-r--r-- | www/chromium/files/patch-tools_gn_src_gn_version.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/www/chromium/files/patch-tools_gn_src_gn_version.h b/www/chromium/files/patch-tools_gn_src_gn_version.h new file mode 100644 index 000000000000..acde299817ce --- /dev/null +++ b/www/chromium/files/patch-tools_gn_src_gn_version.h @@ -0,0 +1,15 @@ +--- tools/gn/src/gn/version.h.orig 2020-10-22 13:59:48 UTC ++++ tools/gn/src/gn/version.h +@@ -15,9 +15,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; |