diff --git a/devel/google-perftools/Makefile b/devel/google-perftools/Makefile index 7a421a271e13..ce1c141dd02a 100644 --- a/devel/google-perftools/Makefile +++ b/devel/google-perftools/Makefile @@ -7,7 +7,7 @@ PORTNAME= google-perftools PORTVERSION= 1.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \ ${MASTER_SITE_LOCAL} diff --git a/devel/google-perftools/files/patch-pprof b/devel/google-perftools/files/patch-pprof new file mode 100644 index 000000000000..220d66227569 --- /dev/null +++ b/devel/google-perftools/files/patch-pprof @@ -0,0 +1,12 @@ +--- src/pprof.orig 2010-06-16 19:42:24.000000000 -0700 ++++ src/pprof 2010-06-16 19:43:19.000000000 -0700 +@@ -3369,7 +3369,7 @@ + my $finish; + my $offset; + my $lib; +- if ($l =~ /^($h)-($h)\s+..x.\s+($h)\s+\S+:\S+\s+\d+\s+(\S+\.(so|dll|dylib|bundle)((\.\d+)+\w*)?)$/i) { ++ if ($l =~ /^($h)-($h)\s+..x.\s+($h)\s+\S+:\S+\s+\d+\s+(\S+\.(so|dll|dylib|bundle)((\.\d+)+\w*)?)\s+[A-Z]+\s+[\-0-9]+$/i) { + # Full line from /proc/self/maps. Example: + # 40000000-40015000 r-xp 00000000 03:01 12845071 /lib/ld-2.3.2.so + $start = HexExtend($1); +