maintainer-feedback requested: [Bug 270918] devel/mercurial: chg.c fails to build - undeclared 'environ' after update to 6.4.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 18 Apr 2023 19:31:27 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody)
<python@FreeBSD.org> for maintainer-feedback:
Bug 270918: devel/mercurial: chg.c fails to build - undeclared 'environ' after
update to 6.4.1
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270918



--- Description ---
Upstream bug:

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

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