rpms/google-perftools/devel google-perftools-0.94.1-gcc43.patch, NONE, 1.1 google-perftools-0.94.1-linkwithlibstacktrace.patch, NONE, 1.1 .cvsignore, 1.4, 1.5 google-perftools.spec, 1.8, 1.9 sources, 1.4, 1.5

Tom Callaway (spot) fedora-extras-commits at redhat.com
Fri Jan 4 16:26:38 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/google-perftools/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1409

Modified Files:
	.cvsignore google-perftools.spec sources 
Added Files:
	google-perftools-0.94.1-gcc43.patch 
	google-perftools-0.94.1-linkwithlibstacktrace.patch 
Log Message:

Bump to 0.94.1
Fix gcc43 compile
Fix unittest link problem


google-perftools-0.94.1-gcc43.patch:

--- NEW FILE google-perftools-0.94.1-gcc43.patch ---
diff -up google-perftools-0.94.1/src/base/commandlineflags.h.BAD google-perftools-0.94.1/src/base/commandlineflags.h
--- google-perftools-0.94.1/src/base/commandlineflags.h.BAD	2008-01-04 11:09:53.000000000 -0500
+++ google-perftools-0.94.1/src/base/commandlineflags.h	2008-01-04 11:10:19.000000000 -0500
@@ -51,6 +51,7 @@
 #include "config.h"
 #include <string>
 #include <string.h>               // for memchr
+#include <cstdlib>                // for getenv, strtol
 #include "base/basictypes.h"
 
 #define DECLARE_VARIABLE(type, name)                                          \
diff -up google-perftools-0.94.1/src/maybe_threads.cc.BAD google-perftools-0.94.1/src/maybe_threads.cc
--- google-perftools-0.94.1/src/maybe_threads.cc.BAD	2008-01-04 10:58:40.000000000 -0500
+++ google-perftools-0.94.1/src/maybe_threads.cc	2008-01-04 10:59:12.000000000 -0500
@@ -43,6 +43,8 @@
 // tests and claiming that the address of a function is always
 // non-zero. I have no idea why ...
 #include <string>
+// We need cstring for memcmp, thanks gcc-4.3.
+#include <cstring>
 #include "maybe_threads.h"
 #include "base/basictypes.h"
 

google-perftools-0.94.1-linkwithlibstacktrace.patch:

--- NEW FILE google-perftools-0.94.1-linkwithlibstacktrace.patch ---
diff -up google-perftools-0.94.1/Makefile.in.BAD google-perftools-0.94.1/Makefile.in
--- google-perftools-0.94.1/Makefile.in.BAD	2008-01-04 10:47:20.000000000 -0500
+++ google-perftools-0.94.1/Makefile.in	2008-01-04 10:47:52.000000000 -0500
@@ -1263,7 +1263,7 @@ ptmalloc_unittest2_LDADD = $(PTHREAD_LIB
 @MINGW_FALSE@                               src/base/logging.h \
 @MINGW_FALSE@                               src/base/basictypes.h
 
- at MINGW_FALSE@profiledata_unittest_LDADD = -lprofiler
+ at MINGW_FALSE@profiledata_unittest_LDADD = -lprofiler -lstacktrace
 @MINGW_FALSE at profiler_unittest_sh_SOURCES = src/tests/profiler_unittest.sh
 @MINGW_FALSE at PROFILER_UNITTEST_INCLUDES = src/config_for_unittests.h \
 @MINGW_FALSE@                             src/google/profiler.h
diff -up google-perftools-0.94.1/Makefile.am.BAD google-perftools-0.94.1/Makefile.am
--- google-perftools-0.94.1/Makefile.am.BAD	2008-01-04 10:46:46.000000000 -0500
+++ google-perftools-0.94.1/Makefile.am	2008-01-04 10:47:10.000000000 -0500
@@ -631,7 +631,7 @@ profiledata_unittest_SOURCES = src/tests
                                src/base/commandlineflags.h \
                                src/base/logging.h \
                                src/base/basictypes.h
-profiledata_unittest_LDADD = -lprofiler
+profiledata_unittest_LDADD = -lprofiler -lstacktrace
 
 TESTS += profiler_unittest.sh
 profiler_unittest_sh_SOURCES = src/tests/profiler_unittest.sh


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/google-perftools/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	23 Aug 2007 21:48:59 -0000	1.4
+++ .cvsignore	4 Jan 2008 16:25:57 -0000	1.5
@@ -1,3 +1 @@
-google-perftools-0.91.tar.gz
-google-perftools-0.92.tar.gz
-google-perftools-0.93.tar.gz
+google-perftools-0.94.1.tar.gz


Index: google-perftools.spec
===================================================================
RCS file: /cvs/pkgs/rpms/google-perftools/devel/google-perftools.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- google-perftools.spec	23 Aug 2007 21:48:59 -0000	1.8
+++ google-perftools.spec	4 Jan 2008 16:25:58 -0000	1.9
@@ -1,11 +1,13 @@
 Name:		google-perftools
-Version:	0.93
+Version:	0.94.1
 Release:	1%{?dist}
 License:	BSD
 Group:		Development/Tools
 Summary:	Very fast malloc and performance analysis tools
 URL:		http://code.google.com/p/google-perftools/
 Source0:	http://google-perftools.googlecode.com/files/google-perftools-%{version}.tar.gz
+Patch0:		google-perftools-0.94.1-linkwithlibstacktrace.patch
+Patch1:		google-perftools-0.94.1-gcc43.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	libunwind-devel
 # No support for PPC yet. Bugzilla 238390
@@ -27,6 +29,8 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 %configure --disable-static
@@ -69,6 +73,11 @@
 %{_libdir}/*.so
 
 %changelog
+* Fri Jan  4 2008 Tom "spot" Callaway <tcallawa at redhat.com> 0.94.1-1
+- bump to 0.94.1
+- fix for gcc4.3
+- fix unittest link issue
+
 * Thu Aug 23 2007 Tom "spot" Callaway <tcallawa at redhat.com> 0.93-1
 - upstream merged my patch!
 - rebuild for BuildID


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/google-perftools/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	23 Aug 2007 21:48:59 -0000	1.4
+++ sources	4 Jan 2008 16:25:58 -0000	1.5
@@ -1 +1 @@
-9934d8df6151e891872198b6708c3a6d  google-perftools-0.93.tar.gz
+b70df2d4697bed5a54c76bbf37a1837d  google-perftools-0.94.1.tar.gz




More information about the fedora-extras-commits mailing list