summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2015-09-20 01:53:39 -0500
committerMatthias Maier <tamiko@gentoo.org>2015-09-20 01:56:20 -0500
commit96b0c167e73c6230e4e77336b9e8bb602a8c5c04 (patch)
treefdffcc4f181dcb1c45c253931dd50765213167af /sci-visualization/paraview/files/paraview-4.0.1-vtk-cg-path.patch
parentdev-python/selenium: Drop old (diff)
downloadgentoo-96b0c167e73c6230e4e77336b9e8bb602a8c5c04.tar.gz
gentoo-96b0c167e73c6230e4e77336b9e8bb602a8c5c04.tar.bz2
gentoo-96b0c167e73c6230e4e77336b9e8bb602a8c5c04.zip
Revert "sci-visualization/paraview: Only keep version 4.3.1"
This reverts commit 781fdf38053da604fcb269c354ad3cd86bd0e0ec. Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sci-visualization/paraview/files/paraview-4.0.1-vtk-cg-path.patch')
-rw-r--r--sci-visualization/paraview/files/paraview-4.0.1-vtk-cg-path.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/sci-visualization/paraview/files/paraview-4.0.1-vtk-cg-path.patch b/sci-visualization/paraview/files/paraview-4.0.1-vtk-cg-path.patch
new file mode 100644
index 00000000000..58ddde97d4f
--- /dev/null
+++ b/sci-visualization/paraview/files/paraview-4.0.1-vtk-cg-path.patch
@@ -0,0 +1,36 @@
+--- ParaView-3.98.0-src/VTK/CMake/FindCg.cmake
++++ ParaView-3.98.0-src/VTK/CMake/FindCg.cmake
+@@ -82,6 +82,7 @@
+ FIND_PROGRAM( CG_COMPILER cgc
+ /usr/bin
+ /usr/local/bin
++ /opt/nvidia-cg-toolkit/bin
+ DOC "The Cg Compiler"
+ )
+ GET_FILENAME_COMPONENT(CG_COMPILER_DIR "${CG_COMPILER}" PATH)
+@@ -89,6 +90,7 @@
+ FIND_PATH( CG_INCLUDE_PATH Cg/cg.h
+ /usr/include
+ /usr/local/include
++ /opt/nvidia-cg-toolkit/include
+ ${CG_COMPILER_SUPER_DIR}/include
+ DOC "The directory where Cg/cg.h resides"
+ )
+@@ -98,6 +100,8 @@
+ /usr/lib
+ /usr/local/lib64
+ /usr/local/lib
++ /opt/nvidia-cg-toolkit/lib64
++ /opt/nvidia-cg-toolkit/lib
+ ${CG_COMPILER_SUPER_DIR}/lib64
+ ${CG_COMPILER_SUPER_DIR}/lib
+ DOC "The Cg runtime library"
+@@ -108,6 +112,8 @@
+ /usr/lib
+ /usr/local/lib64
+ /usr/local/lib
++ /opt/nvidia-cg-toolkit/lib64
++ /opt/nvidia-cg-toolkit/lib
+ ${CG_COMPILER_SUPER_DIR}/lib64
+ ${CG_COMPILER_SUPER_DIR}/lib
+ DOC "The Cg runtime library"