diff options
author | Matthias Maier <tamiko@gentoo.org> | 2017-04-22 19:06:14 -0500 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2017-04-22 19:06:14 -0500 |
commit | 21aa6ef90b5eb05e1042b42ecd5a70387d65b775 (patch) | |
tree | 45f0c8ecbba6ead1f48f4ce9fdff23bbf0040537 /sci-visualization | |
parent | dev-util/bazel: add app-arch/zip to DEPEND (bug 615550) (diff) | |
download | gentoo-21aa6ef90b5eb05e1042b42ecd5a70387d65b775.tar.gz gentoo-21aa6ef90b5eb05e1042b42ecd5a70387d65b775.tar.bz2 gentoo-21aa6ef90b5eb05e1042b42ecd5a70387d65b775.zip |
sci-visualization/paraview: resurrect missing patches, bug #615762
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/paraview/files/paraview-4.0.1-gcc-4.7.patch | 28 | ||||
-rw-r--r-- | sci-visualization/paraview/files/paraview-4.1.0-no-fatal-warnings.patch | 19 |
2 files changed, 47 insertions, 0 deletions
diff --git a/sci-visualization/paraview/files/paraview-4.0.1-gcc-4.7.patch b/sci-visualization/paraview/files/paraview-4.0.1-gcc-4.7.patch new file mode 100644 index 000000000000..1b941cfa9431 --- /dev/null +++ b/sci-visualization/paraview/files/paraview-4.0.1-gcc-4.7.patch @@ -0,0 +1,28 @@ +Description: fix FTBFS with gcc-4.7 +Author: Mathieu Malaterre <malat@debian.org> +Origin: http://anonscm.debian.org/gitweb/?p=collab-maint/vtk.git;a=commitdiff;h=428e763c995bb303805e07da70c1a34fc103d208 +Reviewed-by: Anton Gladky <gladky.anton@gmail.com> +Last-Update: 2012-05-08 + +--- a/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx ++++ b/VTK/Rendering/FreeType/vtkFreeTypeTools.cxx +@@ -35,6 +35,8 @@ + using namespace ftgl; + #endif + ++#include <stdint.h> ++ + // Print debug info + #define VTK_FTFC_DEBUG 0 + #define VTK_FTFC_DEBUG_CD 0 +--- a/VTK/Rendering/FreeType/vtkFreeTypeUtilities.cxx ++++ b/VTK/Rendering/FreeType/vtkFreeTypeUtilities.cxx +@@ -36,6 +36,8 @@ + using namespace ftgl; + #endif + ++#include <stdint.h> ++ + // Print debug info + + #define VTK_FTFC_DEBUG 0 diff --git a/sci-visualization/paraview/files/paraview-4.1.0-no-fatal-warnings.patch b/sci-visualization/paraview/files/paraview-4.1.0-no-fatal-warnings.patch new file mode 100644 index 000000000000..531be2f614f0 --- /dev/null +++ b/sci-visualization/paraview/files/paraview-4.1.0-no-fatal-warnings.patch @@ -0,0 +1,19 @@ +diff --git a/VTK/CMake/vtkCompilerExtras.cmake b/VTK/CMake/vtkCompilerExtras.cmake +index 05b2db9..48d9395 100644 +--- a/VTK/CMake/vtkCompilerExtras.cmake ++++ b/VTK/CMake/vtkCompilerExtras.cmake +@@ -15,11 +15,11 @@ if(CMAKE_COMPILER_IS_GNUCXX) + # If we are compiling on Linux then set some extra linker flags too + if(CMAKE_SYSTEM_NAME MATCHES Linux) + set(CMAKE_SHARED_LINKER_FLAGS +- "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}") ++ "-Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}") + set(CMAKE_MODULE_LINKER_FLAGS +- "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}") ++ "-Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}") + set (CMAKE_EXE_LINKER_FLAGS +- "-Wl,--fatal-warnings -Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}") ++ "-Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}") + endif() + + # Now check if we can use visibility to selectively export symbols |