summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2008-09-06 17:32:33 +0000
committerMichael Januszewski <spock@gentoo.org>2008-09-06 17:32:33 +0000
commita861fd5b5e04f05e466b5f8709cc16539b6a6eb7 (patch)
treeaa2e4d1c0c703a1522d739bca30c7b2bd9b42807 /dev-util/oprofile/files
parentStable for HPPA (bug #236390). (diff)
downloadgentoo-2-a861fd5b5e04f05e466b5f8709cc16539b6a6eb7.tar.gz
gentoo-2-a861fd5b5e04f05e466b5f8709cc16539b6a6eb7.tar.bz2
gentoo-2-a861fd5b5e04f05e466b5f8709cc16539b6a6eb7.zip
Fix test suite compilation with gcc4.3+ (bug #236744).
(Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc5 x86_64)
Diffstat (limited to 'dev-util/oprofile/files')
-rw-r--r--dev-util/oprofile/files/oprofile-0.9.4-gcc43.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-util/oprofile/files/oprofile-0.9.4-gcc43.patch b/dev-util/oprofile/files/oprofile-0.9.4-gcc43.patch
new file mode 100644
index 000000000000..2acc961ea05f
--- /dev/null
+++ b/dev-util/oprofile/files/oprofile-0.9.4-gcc43.patch
@@ -0,0 +1,31 @@
+--- libregex/tests/java_test.cpp.old 2008-09-03 00:57:19.357004497 +0200
++++ libregex/tests/java_test.cpp 2008-09-03 00:57:38.234025373 +0200
+@@ -16,6 +16,7 @@
+
+ #include <iostream>
+ #include <fstream>
++#include <cstdlib>
+
+ using namespace std;
+
+--- libregex/tests/regex_test.cpp.old 2008-09-03 00:55:18.564005266 +0200
++++ libregex/tests/regex_test.cpp 2008-09-03 00:55:43.576001018 +0200
+@@ -20,6 +20,7 @@
+
+ #include <iostream>
+ #include <fstream>
++#include <cstdlib>
+
+ using namespace std;
+
+--- libabi/tests/abi_test.cpp.old 2005-08-17 21:15:42.000000000 +0200
++++ libabi/tests/abi_test.cpp 2008-09-03 01:00:04.091003916 +0200
+@@ -17,6 +17,8 @@
+
+ #include <fstream>
+ #include <iostream>
++#include <cstring>
++#include <cstdlib>
+
+ using namespace std;
+