Re: [patch] FreeBSD Port: nvidia-driver-1.0.4365

From: Matt <matt_at_xtaz.co.uk>
Date: Wed, 03 Sep 2003 12:14:52 +0100
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.
Received on Wed Sep 03 2003 - 02:15:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:21 UTC