Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2016 23:38:53 -0500
From:      Ultima <ultima1252@gmail.com>
To:        Jan Beich <jbeich@vfemail.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: x11/nvidia-driver issues compiling on 9.X
Message-ID:  <CANJ8om47752ZDeYJOfgyPZ_AYbpT=8-Hdj3QwqkfmYS=bqcsxw@mail.gmail.com>
In-Reply-To: <egdo-ogmp-wny@vfemail.net>
References:  <CANJ8om4wCk5Wibftu4pQpAgs_L3Ek=xus3dD_MvXNSo9=WseZQ@mail.gmail.com> <egdo-ogmp-wny@vfemail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
 Thank you Jan Beich. That was it!. Also thanks for providing all the
detailed information. Vary helpful =]

On Sun, Jan 10, 2016 at 11:59 PM, Jan Beich <jbeich@vfemail.net> wrote:

> Ultima <ultima1252@gmail.com> writes:
>
> > nvidia-modeset-freebsd.c:563:29: error: sys/caprights.h: No such file or
> > directory
>
> Drop the line. <sys/caprights.h> is implicitly included on 10+ systems.
>
> > nvidia-modeset-freebsd.c:593: warning: implicit declaration of function
> > 'cap_rights_init'
>
> See how nv-freebsd.h and nvidia_linux.c fixed this issue and also use
> slightly more correct __FreeBSD_version.
>
>     // before r255219
>     status = fget(curthread, fd, CAP_IOCTL, &fp);
>
>     // after  r255219
>     cap_rights_t rights;
>     status = fget(curthread, fd, cap_rights_init(&rights, CAP_IOCTL), &fp);
>
> https://svnweb.freebsd.org/changeset/base/255219
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANJ8om47752ZDeYJOfgyPZ_AYbpT=8-Hdj3QwqkfmYS=bqcsxw>