Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2017 13:22:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218564] x11/lightdm: Use correct replacement for clearenv()
Message-ID:  <bug-218564-13-hj4UYGse3N@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-218564-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-218564-13@https.bugs.freebsd.org/bugzilla/>

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

Ben Woods <woodsb02@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
           Assignee|freebsd-ports-bugs@FreeBSD. |woodsb02@freebsd.org
                   |org                         |

--- Comment #1 from Ben Woods <woodsb02@freebsd.org> ---
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.=



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