Re: 8-STABLE /usr/include/utmp.h and tmpx

From: Garrett Cooper <yanegomi_at_gmail.com>
Date: Fri, 3 Jun 2011 18:09:26 -0700
On Fri, Jun 3, 2011 at 5:02 PM, Aryeh Friedman <aryeh.friedman_at_gmail.com> wrote:
> Some time in the last 2 weeks (I am sure when) a commit caused many
> ports that assume a "standard" utmp/utmp.x to break for example
> x11-toolkits/vte produces:
>
> gnome-pty-helper.c:497: warning: passing argument 4 of 'pty_add'
> discards qualifiers from pointer target type
> mv -f .deps/gnome-pty-helper.Tpo .deps/gnome-pty-helper.Po
> cc -DHAVE_CONFIG_H -I.   -I/usr/local/include  -O2 -pipe
> -march=prescott -fno-strict-aliasing -MT gnome-utmp.o -MD -MP -MF
> .deps/gnome-utmp.Tpo -c -o gnome-utmp.o gnome-utmp.c
> gnome-utmp.c: In function 'write_login_record':
> gnome-utmp.c:367: warning: passing argument 1 of 'login' from
> incompatible pointer type
> gnome-utmp.c:374: error: 'struct utmpx' has no member named 'ut_name'
>
>
> This is not the only port that has the issue but it is the only one I
> remember off the top of my head (I manually fixed a few others)

    Compiles just fine on CURRENT. Did you open a PR for this item?
Thanks,
-Garrett
Received on Fri Jun 03 2011 - 23:11:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:14 UTC