[SVN-Commit] r1406 - in trunk: . www/linux-seamonkey

svn-freebsd-gecko at chruetertee.ch svn-freebsd-gecko at chruetertee.ch
Mon Nov 25 05:28:27 UTC 2013


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)


More information about the freebsd-gecko mailing list