--- src/pprof.orig	2012-02-03 15:39:48.000000000 -0800
+++ src/pprof	2013-05-03 10:29:08.000000000 -0700
@@ -752,10 +752,9 @@
   # (Stop once we find one.)
   # Works best if the browser is already running.
   my @alt = (
-    "/etc/alternatives/gnome-www-browser",
-    "/etc/alternatives/x-www-browser",
-    "google-chrome",
+    "chrome",
     "firefox",
+    "opera"
   );
   foreach my $b (@alt) {
     if (system($b, $fname) == 0) {
@@ -4345,7 +4344,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*(\.\d+){0,3})?)$/i) {
+    if ($l =~ /^($h)-($h)\s+..x.\s+($h)\s+\S+:\S+\s+\d+\s+(\S+\.(so|dll|dylib|bundle)((\.\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);
