[Bug 270918] devel/mercurial: chg.c fails to build - undeclared 'environ' after update to 6.4.1
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-feedback requested: [Bug 270918] devel/mercurial: chg.c fails to build - undeclared 'environ' after update to 6.4.1"
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-approval requested: [Bug 270918] devel/mercurial: chg.c fails to build - undeclared 'environ' after update to 6.4.1 : [Attachment 241570] [patch] fix undeclared environ (chg.c)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270918] devel/mercurial: chg.c fails to build - undeclared 'environ' after update to 6.4.1"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270918] devel/mercurial: chg.c fails to build - undeclared 'environ' after update to 6.4.1 (and still in 6.4.2)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270918] devel/mercurial: chg.c fails to build - undeclared 'environ' after update to 6.4.1 (and still in 6.4.2)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270918] devel/mercurial: chg.c fails to build - undeclared 'environ' after update to 6.4.1 (and still in 6.4.2)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Apr 2023 19:31:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270918
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=241570&action=edit
[patch] fix undeclared environ (chg.c)
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
--
You are receiving this mail because:
You are the assignee for the bug.