diff options
author | Markus Dittrich <markusle@gentoo.org> | 2008-05-24 18:56:06 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2008-05-24 18:56:06 +0000 |
commit | 4f8544bc982ebbfd8246b7dab04bb1fa1a694a4d (patch) | |
tree | 1f5cb1395487fe85fe1a5f97a40b682476f6c233 /sci-libs/vtk/files | |
parent | Added ~ppc wrt bug 219968 (diff) | |
download | gentoo-2-4f8544bc982ebbfd8246b7dab04bb1fa1a694a4d.tar.gz gentoo-2-4f8544bc982ebbfd8246b7dab04bb1fa1a694a4d.tar.bz2 gentoo-2-4f8544bc982ebbfd8246b7dab04bb1fa1a694a4d.zip |
Added gcc-4.3 compatibility patch (see bug #223383).
(Portage version: 2.1.5.2)
Diffstat (limited to 'sci-libs/vtk/files')
-rw-r--r-- | sci-libs/vtk/files/vtk-5.0.4-gcc4.3.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sci-libs/vtk/files/vtk-5.0.4-gcc4.3.patch b/sci-libs/vtk/files/vtk-5.0.4-gcc4.3.patch new file mode 100644 index 000000000000..f921ee3196d5 --- /dev/null +++ b/sci-libs/vtk/files/vtk-5.0.4-gcc4.3.patch @@ -0,0 +1,33 @@ +diff -Naur VTK/Utilities/DICOMParser/DICOMAppHelper.cxx VTK.new/Utilities/DICOMParser/DICOMAppHelper.cxx +--- VTK/Utilities/DICOMParser/DICOMAppHelper.cxx 2007-05-03 13:12:13.000000000 -0400 ++++ VTK.new/Utilities/DICOMParser/DICOMAppHelper.cxx 2008-05-24 13:44:18.000000000 -0400 +@@ -34,6 +34,7 @@ + #include <string> + #include <math.h> + #include <algorithm> ++#include <cstring> + #if defined(__BORLANDC__) + #include <mem.h> // for memcpy + #endif +diff -Naur VTK/Utilities/DICOMParser/DICOMFile.cxx VTK.new/Utilities/DICOMParser/DICOMFile.cxx +--- VTK/Utilities/DICOMParser/DICOMFile.cxx 2005-07-26 16:02:22.000000000 -0400 ++++ VTK.new/Utilities/DICOMParser/DICOMFile.cxx 2008-05-24 13:44:18.000000000 -0400 +@@ -24,6 +24,7 @@ + + #include <stdio.h> + #include <string> ++#include <cstring> + + #include "DICOMConfig.h" + #include "DICOMFile.h" +diff -Naur VTK/Utilities/DICOMParser/DICOMParser.cxx VTK.new/Utilities/DICOMParser/DICOMParser.cxx +--- VTK/Utilities/DICOMParser/DICOMParser.cxx 2006-03-24 10:59:50.000000000 -0500 ++++ VTK.new/Utilities/DICOMParser/DICOMParser.cxx 2008-05-24 13:44:19.000000000 -0400 +@@ -37,6 +37,7 @@ + #endif + + #include <string> ++#include <cstring> + + #include "DICOMConfig.h" + #include "DICOMParser.h" |