From owner-freebsd-ports@FreeBSD.ORG Thu Sep 5 19:18:05 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 82FE8C49 for ; Thu, 5 Sep 2013 19:18:05 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 426D42A46 for ; Thu, 5 Sep 2013 19:18:04 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) for freebsd-ports@freebsd.org with esmtp (envelope-from ) id <1VHf47-0034CD-Ev>; Thu, 05 Sep 2013 21:18:03 +0200 Received: from f052084065.adsl.alicedsl.de ([78.52.84.65] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.80.1) for freebsd-ports@freebsd.org with esmtpsa (envelope-from ) id <1VHf47-0025nO-Ba>; Thu, 05 Sep 2013 21:18:03 +0200 Date: Thu, 5 Sep 2013 21:17:57 +0200 From: "O. Hartmann" To: FreeBSD Ports Subject: x11/nvidia-driver fails to build due to error: [...] 'unsigned long long' to parameter of type 'cap_rights_t *' (aka 'struct cap_rights *') ... Message-ID: <20130905211757.0d867d58@thor.walstatt.dyndns.org> Organization: FU Berlin X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/INC3nQA=QnPL1_CvjG+A3mT"; protocol="application/pgp-signature" X-Originating-IP: 78.52.84.65 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2013 19:18:05 -0000 --Sig_/INC3nQA=QnPL1_CvjG+A3mT Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Updating sources of CURRENT after r255211 makes the building/updating of port x11/nvidia-driver make fail with the rror shown below:=20 --- nvidia_linux.o --- nvidia_linux.c:42:37: error: incompatible integer to pointer conversion passing 'unsigned long long' to parameter of type 'cap_rights_t *' (aka 'struct cap_rights *') [-Werror,-Wint-conversion] if ((error =3D fget(td, args->fd, CAP_IOCTL, &fp)) !=3D 0) ^~~~~~~~~ @/sys/capability.h:197:20: note: expanded from macro 'CAP_IOCTL' #define CAP_IOCTL CAPRIGHT(1, 0x0000000000000080ULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @/sys/capability.h:53:28: note: expanded from macro 'CAPRIGHT' #define CAPRIGHT(idx, bit) ((1ULL << (57 + (idx))) | (bit)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @/sys/file.h:220:51: note: passing argument to parameter 'rightsp' here int fget(struct thread *td, int fd, cap_rights_t *rightsp, struct file **fpp); What happened? Regards, Oliver --Sig_/INC3nQA=QnPL1_CvjG+A3mT Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iQEcBAEBAgAGBQJSKNjqAAoJEOgBcD7A/5N8N9gIAKMTJKrhub9+KKNSDS8lAp1Q C4TinVL8kyCQnCOe+e8FQoW5h9rtPPigpusotaT8wqJMBD/jdVp/A7nhMuq16pjg SGg2wlhbwoXVvCDp22vbXol76fPyD7cU0WoPwXyO6dPT081k8Obg+PrQa9QbpB5n YGdKqDm1cJJLzGO8c91WrRaIIPC78oF2ZJD6H2tYKCapYqB6nELgpQjI/pls1656 CqB3sYZ0LrhovhWBRgExg5hh0JK4VF6z/ofJlHDstKfkizfBMrLyqilr9BavZOUo hDlYawTtqa7LQNrqmLxFO+yTADi3Ad9Tq3Bkw8zI5BFrAgJ1iusAL0s59lZv9sA= =j+Gz -----END PGP SIGNATURE----- --Sig_/INC3nQA=QnPL1_CvjG+A3mT--