Files
ports/devel/google-perftools/files/patch-src_pprof
T
Richard Gallamore 88486897f8 * Updated to 2.6
* Added gmake to USES
* New options, PAGE and ALIGN, Default PAGE8k ALIGN16
* Moved LIB_DEPENDS, BROKEN_*(13.1.5) comes before *_DEPENDS(13.1.6)[1]
* Moved USES, comes before USE_*(13.1.7)[1]

Changelog: https://github.com/gperftools/gperftools/releases/tag/gperftools-2.6

[1] https://www.freebsd.org/doc/en/books/porters-handbook/porting-samplem.html#porting-samplem-order

PR:		220519
Submitted by:	Yuri Victorovich <yuri@rawbw.com> (maintainer)
Reviewed by:	matthew (mentor)
Approved by:	matthew (mentor)
Differential Revision:	https://reviews.freebsd.org/D11524
2017-07-07 23:50:06 +00:00

12 lines
575 B
Plaintext

--- src/pprof.orig 2017-07-06 15:20:46 UTC
+++ src/pprof
@@ -4520,7 +4520,7 @@ sub ParseLibraries {
my $finish;
my $offset;
my $lib;
- if ($l =~ /^($h)-($h)\s+..x.\s+($h)\s+\S+:\S+\s+\d+\s+(.+\.(so|dll|dylib|bundle|node)((\.\d+)+\w*(\.\d+){0,3})?)$/i) {
+ if ($l =~ /^($h)-($h)\s+..x.\s+($h)\s+\S+:\S+\s+\d+\s+(.+\.(so|dll|dylib|bundle|node)((\.\d+)+\w*(\.\d+){0,3})?)\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);