summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2008-05-31 15:12:27 +0000
committerMichael Januszewski <spock@gentoo.org>2008-05-31 15:12:27 +0000
commit3a97ad0b5f3587eb5486862710285a721444aee4 (patch)
treeb13e60976b7a3a269a3e0ebe508e945ec635c635 /dev-util/oprofile/files
parentkeyword ~x86-fbsd (diff)
downloadgentoo-2-3a97ad0b5f3587eb5486862710285a721444aee4.tar.gz
gentoo-2-3a97ad0b5f3587eb5486862710285a721444aee4.tar.bz2
gentoo-2-3a97ad0b5f3587eb5486862710285a721444aee4.zip
Update the GCC 4.3 fix to make tests work (patch by Michal Kiedrowicz).
(Portage version: 2.1.5.2)
Diffstat (limited to 'dev-util/oprofile/files')
-rw-r--r--dev-util/oprofile/files/oprofile-0.9.3-gcc43.patch23
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;
+