git: 8e8c6231b3d7 - main - devel/gn: Update to version 2124

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Thu, 02 Nov 2023 07:29:08 UTC
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8e8c6231b3d7dd743b36d800683a6e89838f4338

commit 8e8c6231b3d7dd743b36d800683a6e89838f4338
Author:     Oleh Hushchenkov <o.hushchenkov@gmail.com>
AuthorDate: 2023-11-01 10:29:40 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2023-11-02 07:28:53 +0000

    devel/gn: Update to version 2124
    
    ChangeLog: https://gn.googlesource.com/gn/
    
    PR:             274841
    Reported by:    o.hushchenkov@gmail.com (maintainer)
---
 devel/gn/Makefile                   | 2 +-
 devel/gn/distinfo                   | 6 +++---
 devel/gn/files/patch-build_gen.py   | 6 +++---
 devel/gn/files/patch-src_gn_args.cc | 4 ++--
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/devel/gn/Makefile b/devel/gn/Makefile
index cd72a8827c92..e7192a22d822 100644
--- a/devel/gn/Makefile
+++ b/devel/gn/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gn
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2072
+DISTVERSION=	2124
 CATEGORIES=	devel
 
 MAINTAINER=	o.hushchenkov@gmail.com
diff --git a/devel/gn/distinfo b/devel/gn/distinfo
index 4578c8f2513b..77b8ada3b647 100644
--- a/devel/gn/distinfo
+++ b/devel/gn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1668875475
-SHA256 (cglogic-gn-v2072_GH0.tar.gz) = db79ae073bcac3944c56f5f166c4b764a58c06594134c85b742bf859b42c5a66
-SIZE (cglogic-gn-v2072_GH0.tar.gz) = 1056984
+TIMESTAMP = 1698822256
+SHA256 (cglogic-gn-v2124_GH0.tar.gz) = 91ab314affb97c61cd4037520e873438ffa356bf6bbbbfc086e7bc3e9e9a20e3
+SIZE (cglogic-gn-v2124_GH0.tar.gz) = 1068534
diff --git a/devel/gn/files/patch-build_gen.py b/devel/gn/files/patch-build_gen.py
index 4c053b86c2e2..38d7a6af59ff 100644
--- a/devel/gn/files/patch-build_gen.py
+++ b/devel/gn/files/patch-build_gen.py
@@ -1,8 +1,8 @@
 - .git/ is missing in archive, so use version from environment
 
---- build/gen.py.orig	2022-11-19 16:33:38 UTC
+--- build/gen.py.orig	2023-11-01 07:04:33 UTC
 +++ build/gen.py
-@@ -216,25 +216,16 @@ def main(argv):
+@@ -225,25 +225,16 @@ def GenerateLastCommitPosition(host, header):
  
  
  def GenerateLastCommitPosition(host, header):
@@ -30,7 +30,7 @@
  
    # Only write/touch this file if the commit position has changed.
    old_contents = ''
-@@ -277,7 +268,7 @@ def WriteGenericNinja(path, static_libraries, executab
+@@ -286,7 +277,7 @@ def WriteGenericNinja(path, static_libraries, executab
        'msys': 'build_linux.ninja.template',
        'darwin': 'build_mac.ninja.template',
        'linux': 'build_linux.ninja.template',
diff --git a/devel/gn/files/patch-src_gn_args.cc b/devel/gn/files/patch-src_gn_args.cc
index 628332310aaa..5be9f056771a 100644
--- a/devel/gn/files/patch-src_gn_args.cc
+++ b/devel/gn/files/patch-src_gn_args.cc
@@ -1,6 +1,6 @@
---- src/gn/args.cc.orig	2022-11-19 16:37:02 UTC
+--- src/gn/args.cc.orig	2023-10-23 08:20:06 UTC
 +++ src/gn/args.cc
-@@ -362,7 +362,7 @@ void Args::SetSystemVarsLocked(Scope* dest) const {
+@@ -368,7 +368,7 @@ void Args::SetSystemVarsLocked(Scope* dest) const {
      arch = kMips64;
    else if (os_arch == "s390x")
      arch = kS390X;