rpms/oprofile/devel oprofile-0.9.1-anon.patch, NONE, 1.1 oprofile.spec, 1.33, 1.34

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Dec 5 21:19:57 UTC 2005


Author: wcohen

Update of /cvs/dist/rpms/oprofile/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv32108

Modified Files:
	oprofile.spec 
Added Files:
	oprofile-0.9.1-anon.patch 
Log Message:
Correct anon namespace issue when building with gcc 4.1.



oprofile-0.9.1-anon.patch:
 arrange_profiles.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE oprofile-0.9.1-anon.patch ---
--- oprofile-0.9.1/libpp/arrange_profiles.cpp.anon	2005-12-05 16:06:29.000000000 -0500
+++ oprofile-0.9.1/libpp/arrange_profiles.cpp	2005-12-05 16:06:56.000000000 -0500
@@ -77,8 +77,6 @@
 	return lt.event < rt.event;
 }
 
-namespace {
-
 struct axis_t {
 	string name;
 	string suggestion;
@@ -129,6 +127,8 @@
 }
 
 
+namespace {
+
 /// We have more than one axis of classification, tell the user.
 void report_error(profile_classes const & classes, axis_types newaxis)
 {


Index: oprofile.spec
===================================================================
RCS file: /cvs/dist/rpms/oprofile/devel/oprofile.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- oprofile.spec	5 Dec 2005 20:12:00 -0000	1.33
+++ oprofile.spec	5 Dec 2005 21:19:54 -0000	1.34
@@ -1,6 +1,6 @@
 %define DATE 200511111
 %define oprofile_version 0.9.1
-%define oprofile_release 4
+%define oprofile_release 5
 Summary: System wide profiler
 Name: oprofile
 Version: 0.9.1
@@ -17,6 +17,7 @@
 Patch63: oprofile-0.7-libs.patch
 #Patch79: oprofile-0.8.1-power970.patch
 #Patch80: oprofile-0.8.2-ppc64dot.patch
+Patch81: oprofile-0.9.1-anon.patch
 
 URL: http://oprofile.sf.net
 ExclusiveArch: %{ix86} ia64 x86_64 ppc ppc64 s390 s390x alpha alphaev6 sparc sparc64
@@ -54,6 +55,7 @@
 #%patch35 -p1 -b .separate
 %patch63 -p1 -b .libs
 #%patch80 -p1 -b .ppc64dot
+%patch81 -p1 -b .anon
 
 ./autogen.sh
 
@@ -229,6 +231,9 @@
 
 
 %changelog
+* Mon Dec 05 2005 Will Cohen <wcohen at redhat.com>
+- Correct anon namespace issue.
+
 * Fri Nov 11 2005 Will Cohen <wcohen at redhat.com>
 - Add alpha and sparcs to exclusivearch.
 




More information about the fedora-cvs-commits mailing list