Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 311657

Summary: dev-util/nvidia-cuda-toolkit-3.0: Patch to fix header files
Product: Gentoo Linux Reporter: Clemens Rabe <crabe>
Component: New packagesAssignee: Michal Januszewski (RETIRED) <spock>
Status: RESOLVED FIXED    
Severity: normal CC: spock
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to fix the CUDA header files.
Ebuild applying the patch.

Description Clemens Rabe 2010-03-27 20:54:05 UTC
I've experienced (again) compiler problems with the CUDA 3.0 toolkit, when using the pedantic option of gcc. In some of the header files are enumerations that end with a comma, and gcc doesn't like that.

The attached patch corrects these two header files. (The nvidia-cuda-sdk-3.0 and my CUDA applications were successfully tested)

I'll attach my ebuild as well. Please note, that I've removed the dependency on the unstable binutils, since I've not experienced the problem stated in bug #279523 on my amd64 profile and like to stick to the stable version.

Thanks in advance,
 Clemens
Comment 1 Clemens Rabe 2010-03-27 20:55:12 UTC
Created attachment 225485 [details, diff]
Patch to fix the CUDA header files.
Comment 2 Clemens Rabe 2010-03-27 20:56:33 UTC
Created attachment 225487 [details]
Ebuild applying the patch.

Please note that this ebuild has the binutils dependency removed!
Comment 3 Michal Januszewski (RETIRED) gentoo-dev 2010-04-01 21:49:09 UTC
Added to CVS.  Thanks for the patch!