Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2013 05:28:12 GMT
From:      svn-freebsd-gecko@chruetertee.ch
To:        freebsd-gecko@freebsd.org
Subject:   [SVN-Commit] r1406 - in trunk: . www/linux-seamonkey
Message-ID:  <201311250528.rAP5SCGZ075274@trillian.chruetertee.ch>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Nov 25 05:28:12 2013
New Revision: 1406

Log:
avoid about:memory depending on non-implemented smaps in linprocfs

Modified:
   trunk/Gecko_ChangeLog
   trunk/www/linux-seamonkey/Makefile.common

Modified: trunk/Gecko_ChangeLog
==============================================================================
--- trunk/Gecko_ChangeLog	Sat Nov 23 01:42:51 2013	(r1405)
+++ trunk/Gecko_ChangeLog	Mon Nov 25 05:28:12 2013	(r1406)
@@ -2,7 +2,8 @@
   fixes plugins not being automatically enabled after install
 - ALSA now supports playing HTML5 audio with 32-bit sample format
   after being converted from float as passed by firefox/libcubeb [1]
-- linux-firefox and linux-seamonkey can play HTML5 audio, again
+- linux-firefox and linux-seamonkey can play HTML5 audio and measure
+  about:memory usage, again
 - dom.ipc.plugins.enabled->true no longer crash linux-firefox which makes
   some flash sites work again; as there's no nspluginwrapper in-between
   the infamous "youtube issue" never occurs

Modified: trunk/www/linux-seamonkey/Makefile.common
==============================================================================
--- trunk/www/linux-seamonkey/Makefile.common	Sat Nov 23 01:42:51 2013	(r1405)
+++ trunk/www/linux-seamonkey/Makefile.common	Mon Nov 25 05:28:12 2013	(r1406)
@@ -74,6 +74,11 @@
 
 	# empty port preferences
 	@${DO_NADA} >>${PREFS_FILE}
+
+	# dummy resident-unique for make about:memory's "measure"
+	@${REINPLACE_CMD} -i '' \
+		's,/proc/self/smaps\(.Private\),////////dev/null\1,' \
+		${WRKSRC}/libxul.so
 .endif
 
 .if !target(do-install)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311250528.rAP5SCGZ075274>