summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2009-04-23 20:30:23 +0000
committerMarkus Meier <maekke@gentoo.org>2009-04-23 20:30:23 +0000
commit93aaf51f87625e34550a5f652a4fe8bef906149a (patch)
tree537514104c31c27042c06f271cd41d2823bcd5ef /media-gfx/k3d/files
parentOk, unpacking things makes them work better. Sorry for the screwup, closes #2... (diff)
downloadhistorical-93aaf51f87625e34550a5f652a4fe8bef906149a.tar.gz
historical-93aaf51f87625e34550a5f652a4fe8bef906149a.tar.bz2
historical-93aaf51f87625e34550a5f652a4fe8bef906149a.zip
revision bump to fix cuda USE-flag, bug #263811
Package-Manager: portage-2.2_rc31/cvs/Linux i686
Diffstat (limited to 'media-gfx/k3d/files')
-rw-r--r--media-gfx/k3d/files/k3d-0.7.11.0-cuda.patch52
1 files changed, 52 insertions, 0 deletions
diff --git a/media-gfx/k3d/files/k3d-0.7.11.0-cuda.patch b/media-gfx/k3d/files/k3d-0.7.11.0-cuda.patch
new file mode 100644
index 000000000000..56beb0badfc9
--- /dev/null
+++ b/media-gfx/k3d/files/k3d-0.7.11.0-cuda.patch
@@ -0,0 +1,52 @@
+http://k3d.svn.sourceforge.net/viewvc/k3d/trunk/modules/cuda/cuda_mesh_subdivide_edges.cpp?view=patch&r1=1782&r2=1820
+
+--- trunk/modules/cuda/cuda_mesh_subdivide_edges.cpp 2009/03/14 19:27:16 1782
++++ trunk/modules/cuda/cuda_mesh_subdivide_edges.cpp 2009/03/22 22:32:10 1820
+@@ -23,6 +23,7 @@
+ \author Evan Lezar (evanlezar@gmail.com)
+ */
+
++#include <k3dsdk/attribute_array_copier.h>
+ #include <k3dsdk/basic_math.h>
+ #include <k3dsdk/document_plugin_factory.h>
+ #include <k3dsdk/imaterial.h>
+@@ -30,8 +31,8 @@
+ #include <k3dsdk/measurement.h>
+ #include <k3dsdk/mesh_modifier.h>
+ #include <k3dsdk/mesh_selection_sink.h>
+-#include <k3dsdk/attribute_array_copier.h>
+ #include <k3dsdk/node.h>
++#include <k3dsdk/polyhedron.h>
+ #include <k3dsdk/selection.h>
+ #include <k3dsdk/utility.h>
+ #include <k3dsdk/vectors.h>
+@@ -41,6 +42,8 @@
+ #include "cuda_device_mesh.h"
+ #include "cuda_mesh_topology_data.h"
+
++#include <boost/scoped_ptr.hpp>
++
+ namespace module
+ {
+
+@@ -159,7 +162,8 @@
+
+ // If there are no valid polyhedra, we give up
+ document().pipeline_profiler().start_execution(*this, "Create:Validate input");
+- if(!k3d::validate_polyhedra(Input))
++ boost::scoped_ptr<k3d::polyhedron::const_primitive> polyhedron(k3d::polyhedron::validate(Input));
++ if(!polyhedron)
+ {
+ document().pipeline_profiler().finish_execution(*this, "Create:Validate input");
+ return;
+@@ -297,7 +301,8 @@
+ {
+ document().pipeline_profiler().start_execution(*this, "Update:Validate input");
+
+- if(!k3d::validate_polyhedra(Input))
++ boost::scoped_ptr<k3d::polyhedron::const_primitive> polyhedron(k3d::polyhedron::validate(Input));
++ if(!polyhedron)
+ {
+ document().pipeline_profiler().finish_execution(*this, "Update:Validate input");
+ return;
+