From nobody@FreeBSD.org  Thu May 22 21:50:16 2014
Return-Path: <nobody@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 ESMTPS id 8336B4FE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 22 May 2014 21:50:16 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id 6EBAF2F19
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 22 May 2014 21:50:16 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4MLoGeE057690
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 22 May 2014 21:50:16 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4MLoGrZ057689;
	Thu, 22 May 2014 21:50:16 GMT
	(envelope-from nobody)
Message-Id: <201405222150.s4MLoGrZ057689@cgiserv.freebsd.org>
Date: Thu, 22 May 2014 21:50:16 GMT
From: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: x11/nvidia-driver: 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 *') 
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         190126
>Category:       ports
>Synopsis:       x11/nvidia-driver: 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 *')
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    danfe
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 22 22:00:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Thu May 22 22:00:05 UTC 2014
>Originator:     O. Hartmann
>Release:        FreeBSD 11.0-CURRENT
>Organization:
>Environment:
>Description:
Building port x11/nvidia-driver with sources Revision: 266555 on FreeBSD 11.0-CURRENT ends up in this error:

cc -O2 -pipe -O3 -march=native -fno-strict-aliasing -O3 -march=native  -DNV_VERSION_STRING=\"334.21\" -D__KERNEL__ -DNVRM -Wno-unused-function -Wuninitialized -O2 -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I. -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -mno-aes -mno-avx -Qunused-arguments -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-unused-function    -mno-aes -mno-avx -Qunused-arguments -c nvidia_os_pci.c
--- nvidia_os_registry.o ---
--- 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 = fget(td, args->fd, CAP_IOCTL, &fp)) != 0)

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->danfe 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu May 22 22:00:04 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=190126 
>Unformatted:
