[patch] FreeBSD Port: nvidia-driver-1.0.4365

Matt matt at xtaz.co.uk
Wed Sep 3 04:15:02 PDT 2003


Sergey A. Osokin wrote:

> On Wed, Sep 03, 2003 at 01:01:55PM +0200, Harald Schmalzbauer wrote:
> 
>>with today's -current the nvidia port failed to compile.
>>With a bit luck I found that there seems to be a misstype in the 
>>src/nvidia_sysctl.c. I'm no programmer so I don't know if this has changed 
>>recently or if it has always been an error but the old gcc didn't complain (I 
>>think the former)
>>
>>To make it short: I created patch.aa in files and it works fine with today's 
>>-current.
>>
>>I don't have any -stable so if it is only an 5.x issue there someone shuld 
>>correct the port to make the patch OS-dependent.
>>
>>Please commit the patch.
> 
> 
> Hmm, where is the patch?
> danfe: please review the patch :-)
> 

A constant in one of the kernel header file seems to have been renamed. 
Change PCIR_HEADERTYPE to PCIR_HDRTYPE in nvidia_sysctl.c and all will 
be well.

There is a pr for this which is ports/56157.

Matt.




More information about the freebsd-ports mailing list