From owner-freebsd-current@FreeBSD.ORG Thu Sep 5 15:53:45 2013 Return-Path: Delivered-To: freebsd-current@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 D7728CDD for ; Thu, 5 Sep 2013 15:53:45 +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 973A52BB9 for ; Thu, 5 Sep 2013 15:53:45 +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-current@freebsd.org with esmtp (envelope-from ) id <1VHbsI-0026WE-D7>; Thu, 05 Sep 2013 17:53:38 +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-current@freebsd.org with esmtpsa (envelope-from ) id <1VHbsI-001qsq-9k>; Thu, 05 Sep 2013 17:53:38 +0200 Date: Thu, 5 Sep 2013 17:53:32 +0200 From: "O. Hartmann" To: FreeBSD CURRENT Subject: port 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: <20130905175332.1373a535@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_/Wvm0g69_n7K=SHPLZoZNv8/"; protocol="application/pgp-signature" X-Originating-IP: 78.52.84.65 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2013 15:53:45 -0000 --Sig_/Wvm0g69_n7K=SHPLZoZNv8/ 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); Regards, Oliver --Sig_/Wvm0g69_n7K=SHPLZoZNv8/ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iQEcBAEBAgAGBQJSKKkBAAoJEOgBcD7A/5N8VSoH/2g2CAjgVDpT7Rci4r2H3ZQ/ MN0MHCASayT9za/TvFc1s37rze4lKcMy/FKDpPhN4bWzw/vXXQ5x9202Jyq6UoAf /fktm0vtCQgTVi6r9lw+xCKvhSc8u8LxHTmbocfTuaxKun/BydoDlqDYzCEFf3BC HGNYrdPvXh9PiMed22pltUCJN6Sl4cuYMpYt8bOQoNN+Xcrb89bjK/0qcKncYG+m nHhEER9Ne1DKx+TZ97kAUJNNG0BWMt+rG8HJ4n854xS2SXhF9GqEif6OOvIqCAeD xpqzRwIEvjtoQGTcJ1qQgby6tbhgyvZRquRu7waoG1fK+V5oSMRCFywRYaEYunA= =SAlh -----END PGP SIGNATURE----- --Sig_/Wvm0g69_n7K=SHPLZoZNv8/--