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
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')
-rw-r--r--dev-util/oprofile/ChangeLog6
-rw-r--r--dev-util/oprofile/files/oprofile-0.9.3-gcc43.patch23
2 files changed, 28 insertions, 1 deletions
diff --git a/dev-util/oprofile/ChangeLog b/dev-util/oprofile/ChangeLog
index e17efc68dad3..d4e7c07f82d7 100644
--- a/dev-util/oprofile/ChangeLog
+++ b/dev-util/oprofile/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/oprofile
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.47 2008/05/07 19:19:37 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/oprofile/ChangeLog,v 1.48 2008/05/31 15:12:26 spock Exp $
+
+ 31 May 2008; Michał Januszewski <spock@gentoo.org>
+ files/oprofile-0.9.3-gcc43.patch:
+ Update the GCC 4.3 fix to make tests work (patch by Michal Kiedrowicz).
07 May 2008; Michał Januszewski <spock@gentoo.org>
files/oprofile-0.9.3-gcc43.patch:
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;
+