diff options
author | Michael Januszewski <spock@gentoo.org> | 2008-05-31 15:12:27 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2008-05-31 15:12:27 +0000 |
commit | feb049761604f90572b9825e931fa1181beec5d4 (patch) | |
tree | abcb42bdcca049cb6d92b19ab2db92570381def8 /dev-util/oprofile/files | |
parent | keyword ~x86-fbsd (diff) | |
download | historical-feb049761604f90572b9825e931fa1181beec5d4.tar.gz historical-feb049761604f90572b9825e931fa1181beec5d4.tar.bz2 historical-feb049761604f90572b9825e931fa1181beec5d4.zip |
Update the GCC 4.3 fix to make tests work (patch by Michal Kiedrowicz).
Package-Manager: portage-2.1.5.2
Diffstat (limited to 'dev-util/oprofile/files')
-rw-r--r-- | dev-util/oprofile/files/oprofile-0.9.3-gcc43.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-util/oprofile/files/oprofile-0.9.3-gcc43.patch b/dev-util/oprofile/files/oprofile-0.9.3-gcc43.patch index 35b6a4cf0a1b..722c87c73fa6 100644 --- a/dev-util/oprofile/files/oprofile-0.9.3-gcc43.patch +++ b/dev-util/oprofile/files/oprofile-0.9.3-gcc43.patch @@ -188,3 +188,26 @@ diff -urp oprofile-0.9.3-orig/pp/opgprof_options.cpp oprofile-0.9.3/pp/opgprof_o #include "opgprof_options.h" #include "popt_options.h" +diff -urp oprofile-0.9.3-orig/libabi/tests/abi_test.cpp oprofile-0.9.3/libabi/tests/abi_test.cpp +--- oprofile-0.9.3-orig/libabi/tests/abi_test.cpp 2007-07-16 20:22:17.000000000 +0200 ++++ oprofile-0.9.3/libabi/tests/abi_test.cpp 2008-05-23 14:31:44.000000000 +0200 +@@ -17,6 +17,8 @@ + + #include <fstream> + #include <iostream> ++#include <cstdlib> ++#include <cstring> + + using namespace std; + +diff -urp oprofile-0.9.3-orig/libregex/tests/regex_test.cpp oprofile-0.9.3/libregex/tests/regex_test.cpp +--- oprofile-0.9.3-orig/libregex/tests/regex_test.cpp 2007-07-16 20:22:17.000000000 +0200 ++++ oprofile-0.9.3/libregex/tests/regex_test.cpp 2008-05-23 14:32:25.000000000 +0200 +@@ -20,6 +20,7 @@ + + #include <iostream> + #include <fstream> ++#include <cstdlib> + + using namespace std; + |