[oprofile] Remove illegal mutable use on reference variable.
William Eden Cohen
wcohen at fedoraproject.org
Wed Feb 9 17:06:42 UTC 2011
commit 60192fe6108755c326fef434ce887f2159ce90b5
Author: William Cohen <wcohen at redhat.com>
Date: Wed Feb 9 12:05:50 2011 -0500
Remove illegal mutable use on reference variable.
oprofile-unmutable.patch | 12 ++++++++++++
oprofile.spec | 7 ++++++-
2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/oprofile-unmutable.patch b/oprofile-unmutable.patch
new file mode 100644
index 0000000..bfc85f5
--- /dev/null
+++ b/oprofile-unmutable.patch
@@ -0,0 +1,12 @@
+diff -up oprofile-0.9.6/libpp/format_output.h.mutable oprofile-0.9.6/libpp/format_output.h
+--- oprofile-0.9.6/libpp/format_output.h.mutable 2011-02-09 10:20:29.598713997 -0500
++++ oprofile-0.9.6/libpp/format_output.h 2011-02-09 11:39:48.504714000 -0500
+@@ -91,7 +91,7 @@ protected:
+ symbol_entry const & symbol;
+ sample_entry const & sample;
+ size_t pclass;
+- mutable counts_t & counts;
++ counts_t & counts;
+ extra_images const & extra;
+ double diff;
+ };
diff --git a/oprofile.spec b/oprofile.spec
index a7ba2a4..9c24ed4 100644
--- a/oprofile.spec
+++ b/oprofile.spec
@@ -1,7 +1,7 @@
Summary: System wide profiler
Name: oprofile
Version: 0.9.6
-Release: 11%{?dist}
+Release: 12%{?dist}
License: GPLv2
Group: Development/System
#
@@ -20,6 +20,7 @@ Patch121: oprofile-nehalem.patch
Patch122: oprofile-amd.patch
Patch123: oprofile-westmere.patch
Patch124: oprofile-check.patch
+Patch130: oprofile-unmutable.patch
URL: http://oprofile.sf.net
@@ -93,6 +94,7 @@ agent library.
%patch122 -p1
%patch123 -p1
%patch124 -p1
+%patch130 -p1
./autogen.sh
@@ -240,6 +242,9 @@ exit 0
/etc/ld.so.conf.d/*
%changelog
+* Wed Feb 09 2011 Will Cohen <wcohen at redhat.com> - 0.9.6-12
+- Eliminate illegal mutable use.
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.6-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list