summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2010-07-03 22:54:10 +0000
committerMichael Januszewski <spock@gentoo.org>2010-07-03 22:54:10 +0000
commit1496a48893b106b0b0217da64ac6c99b0ab0a3c1 (patch)
treecfa0acbb118da0802817bccad31ed426e46ef5c8 /dev-util/nvidia-cuda-toolkit/files
parentAdd a temporary mask on CUDA 3.1 until the 256 series nvidia-drivers are unma... (diff)
downloadgentoo-2-1496a48893b106b0b0217da64ac6c99b0ab0a3c1.tar.gz
gentoo-2-1496a48893b106b0b0217da64ac6c99b0ab0a3c1.tar.bz2
gentoo-2-1496a48893b106b0b0217da64ac6c99b0ab0a3c1.zip
Version bump (bug #325831). Thanks to Clemens Rabe for the updated ebuild.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/nvidia-cuda-toolkit/files')
-rw-r--r--dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-3.1-enum_fix.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-3.1-enum_fix.patch b/dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-3.1-enum_fix.patch
new file mode 100644
index 000000000000..698d2c7b56e0
--- /dev/null
+++ b/dev-util/nvidia-cuda-toolkit/files/nvidia-cuda-toolkit-3.1-enum_fix.patch
@@ -0,0 +1,24 @@
+diff -Naur include.orig/cudaGL.h include/cudaGL.h
+--- include.orig/cudaGL.h 2010-04-28 09:31:16.000000000 +0200
++++ include/cudaGL.h 2010-05-21 00:04:47.000000000 +0200
+@@ -59,7 +59,7 @@
+ typedef enum CUGLmap_flags_enum {
+ CU_GL_MAP_RESOURCE_FLAGS_NONE = 0x00,
+ CU_GL_MAP_RESOURCE_FLAGS_READ_ONLY = 0x01,
+- CU_GL_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 0x02,
++ CU_GL_MAP_RESOURCE_FLAGS_WRITE_DISCARD = 0x02
+ } CUGLmap_flags;
+
+ CUresult CUDAAPI cuGLInit(void);
+diff -Naur include.orig/cuda_gl_interop.h include/cuda_gl_interop.h
+--- include.orig/cuda_gl_interop.h 2010-04-28 09:30:46.000000000 +0200
++++ include/cuda_gl_interop.h 2010-05-21 00:05:08.000000000 +0200
+@@ -83,7 +83,7 @@
+ {
+ cudaGLMapFlagsNone = 0, ///< Default; Assume resource can be read/written
+ cudaGLMapFlagsReadOnly = 1, ///< CUDA kernels will not write to this resource
+- cudaGLMapFlagsWriteDiscard = 2, ///< CUDA kernels will only write to and will not read from this resource
++ cudaGLMapFlagsWriteDiscard = 2 ///< CUDA kernels will only write to and will not read from this resource
+ };
+
+ extern __host__ cudaError_t CUDARTAPI cudaGLRegisterBufferObject(GLuint bufObj);