1 |
markusle 09/07/18 03:33:23 |
2 |
|
3 |
Added: vtk-5.4.2-cg-path.patch |
4 |
Log: |
5 |
Version bump (fixes bug #269040). Also removed old version. |
6 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 sci-libs/vtk/files/vtk-5.4.2-cg-path.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/vtk/files/vtk-5.4.2-cg-path.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/vtk/files/vtk-5.4.2-cg-path.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: vtk-5.4.2-cg-path.patch |
15 |
=================================================================== |
16 |
diff -Naur VTK/CMake/FindCg.cmake VTK.new/CMake/FindCg.cmake |
17 |
--- VTK/CMake/FindCg.cmake 2005-10-04 11:25:51.000000000 -0400 |
18 |
+++ VTK.new/CMake/FindCg.cmake 2009-07-17 14:10:30.000000000 -0400 |
19 |
@@ -82,6 +82,7 @@ |
20 |
FIND_PROGRAM( CG_COMPILER cgc |
21 |
/usr/bin |
22 |
/usr/local/bin |
23 |
+ /opt/nvidia-cg-toolkit/bin |
24 |
DOC "The Cg Compiler" |
25 |
) |
26 |
GET_FILENAME_COMPONENT(CG_COMPILER_DIR "${CG_COMPILER}" PATH) |
27 |
@@ -89,6 +90,7 @@ |
28 |
FIND_PATH( CG_INCLUDE_PATH Cg/cg.h |
29 |
/usr/include |
30 |
/usr/local/include |
31 |
+ /opt/nvidia-cg-toolkit/include |
32 |
${CG_COMPILER_SUPER_DIR}/include |
33 |
DOC "The directory where Cg/cg.h resides" |
34 |
) |
35 |
@@ -98,6 +100,7 @@ |
36 |
/usr/lib |
37 |
/usr/local/lib64 |
38 |
/usr/local/lib |
39 |
+ /opt/nvidia-cg-toolkit/lib |
40 |
${CG_COMPILER_SUPER_DIR}/lib64 |
41 |
${CG_COMPILER_SUPER_DIR}/lib |
42 |
DOC "The Cg runtime library" |
43 |
@@ -108,6 +111,7 @@ |
44 |
/usr/lib |
45 |
/usr/local/lib64 |
46 |
/usr/local/lib |
47 |
+ /opt/nvidia-cg-toolkit/lib |
48 |
${CG_COMPILER_SUPER_DIR}/lib64 |
49 |
${CG_COMPILER_SUPER_DIR}/lib |
50 |
DOC "The Cg runtime library" |