From owner-freebsd-ports-bugs@freebsd.org Wed Apr 12 13:22:28 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A8ACD3B2FF for ; Wed, 12 Apr 2017 13:22:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E423931B for ; Wed, 12 Apr 2017 13:22:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v3CDMRlV079387 for ; Wed, 12 Apr 2017 13:22:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218564] x11/lightdm: Use correct replacement for clearenv() Date: Wed, 12 Apr 2017 13:22:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: woodsb02@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: woodsb02@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2017 13:22:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218564 Ben Woods changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open Assignee|freebsd-ports-bugs@FreeBSD. |woodsb02@freebsd.org |org | --- Comment #1 from Ben Woods --- Note that if the patch contained in x11/lightdm/files/patch-src_process.c is removed, the build fails with the following error: cc -DHAVE_CONFIG_H -I. -I.. -isystem /usr/local/include -Wall=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 -Wstrict-prototypes -Wnested-externs=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 -Werror=3Dmissing-prototypes=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 -Werror=3Dimplicit-function-declaration -Wer ror=3Dpointer-arith -Werror=3Dinit-self=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 -Werror=3Dformat-security -Werror=3Dformat=3D2=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 -Werror=3Dmissing-include-dirs -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/incl ude -I/usr/local/include/gio-unix-2.0/ -pthread -I"../common" -DSBIN_DIR=3D\"/usr/local/sbin\" -DUSERS_DIR=3D\"/var/lib/lightdm-data\" -DLOG_DIR=3D\"/var/log/lightdm\" -DRUN_DIR=3D\"/var/run/lightdm\" -DCACHE_DIR=3D\"/var/cache/lightdm\" -DSESSIONS_DIR=3D\"/usr/loca l/share/lightdm/sessions:/usr/local/share/xsessions:/usr/local/share/waylan= d-sessions\" -DWAYLAND_SESSIONS_DIR=3D\"/usr/local/share/wayland-sessions\" -DREMOTE_SESSIONS_DIR=3D\"/usr/local/share/lightdm/remote-sessions\" -DGREETERS_DIR=3D\"/usr/local/share/light dm/greeters:/usr/local/share/xgreeters\" -O2 -pipe -fstack-protector -isys= tem /usr/local/include -fno-strict-aliasing -MT lightdm-seat-xdmcp-session.o -MD -MP -MF .deps/lightdm-seat-xdmcp-session.Tpo -c -o lightdm-seat-xdmcp-sessi= on.o `test -f 'seat-xdmc p-session.c' || echo './'`seat-xdmcp-session.c process.c:234:13: error: use of undeclared identifier 'environ' environ =3D NULL; ^ 1 error generated. gmake[3]: *** [Makefile:990: lightdm-process.o] Error 1 --=20 You are receiving this mail because: You are the assignee for the bug.=