Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2023 19:31:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270918] devel/mercurial: chg.c fails to build - undeclared 'environ' after update to 6.4.1
Message-ID:  <bug-270918-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270918

            Bug ID: 270918
           Summary: devel/mercurial: chg.c fails to build - undeclared
                    'environ' after update to 6.4.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
          Assignee: python@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)

Created attachment 241570
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D241570&action=
=3Dedit
[patch] fix undeclared environ (chg.c)

Upstream bug:

https://bz.mercurial-scm.org/show_bug.cgi?id=3D6812

chg.c:535:40: error: use of undeclared identifier 'environ'; did you mean
'union'?
                hgc_setenv(hgc, (const char *const *)environ);
                                                     ^~~~~~~

chg.c had an tweak in 6.4.1:

https://www.mercurial-scm.org/repo/hg/rev/cf4d2f31660d

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270918-7788>