Index: introduction/welcome/changelog.xml
===================================================================
--- introduction/welcome/changelog.xml	(revision a243176b356b4f35459dd22aed6a2799fd226ace)
+++ introduction/welcome/changelog.xml	(revision 0bcaa9a66f6b3b5a4347e83a5f3928902fa7ea16)
@@ -44,4 +44,18 @@
 
 -->
+    <listitem>
+      <para>September 24th, 2015</para>
+      <itemizedlist>
+        <listitem>
+          <para>[ken] - Update to Firefox-41.0. Fixes
+          <ulink url="&blfs-ticket-root;6971">#6971</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[ken] - Add an extra define to the sqlite instructions,
+          for firefox-41.0.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>September 21st, 2015</para>
Index: packages.ent
===================================================================
--- packages.ent	(revision a243176b356b4f35459dd22aed6a2799fd226ace)
+++ packages.ent	(revision 0bcaa9a66f6b3b5a4347e83a5f3928902fa7ea16)
@@ -632,5 +632,5 @@
 <!-- Chapter 43 -->
 <!ENTITY seamonkey-version            "2.35">
-<!ENTITY firefox-version              "40.0.3">
+<!ENTITY firefox-version              "41.0">
 
 <!-- Chapter 44 -->
Index: server/databases/sqlite.xml
===================================================================
--- server/databases/sqlite.xml	(revision a243176b356b4f35459dd22aed6a2799fd226ace)
+++ server/databases/sqlite.xml	(revision 0bcaa9a66f6b3b5a4347e83a5f3928902fa7ea16)
@@ -130,5 +130,6 @@
             -DSQLITE_ENABLE_COLUMN_METADATA=1     \
             -DSQLITE_ENABLE_UNLOCK_NOTIFY=1       \
-            -DSQLITE_SECURE_DELETE=1" &amp;&amp;
+            -DSQLITE_SECURE_DELETE=1              \
+            -DSQLITE_ENABLE_DBSTAT_VTAB=1" &amp;&amp;
 make</userinput></screen>
 
@@ -162,7 +163,9 @@
       <parameter>CFLAGS="-g -O2 -DSQLITE_ENABLE_FTS3=1
       -DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_SECURE_DELETE
-      -DSQLITE_ENABLE_UNLOCK_NOTIFY=1"</parameter>: Applications such as
-      <application>Firefox</application> require secure delete and enable unlock
-      notify to be turned on. The only way to do this is to include them in the
+      -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 -DSQLITE_ENABLE_DBSTAT_VTAB=1"</parameter>:
+      Applications such as <application>Firefox</application> require secure
+      delete and enable unlock notify to be turned on.  Since
+      <application>firefox-41</application> the dbstat virtual table is also
+      required. The only way to do this is to include them in the
       CFLAGS. By default, these are set to <literal>"-g -O2"</literal> so we
       specify that to preserve those settings. You may, of course, wish to omit
Index: xsoft/graphweb/firefox.xml
===================================================================
--- xsoft/graphweb/firefox.xml	(revision a243176b356b4f35459dd22aed6a2799fd226ace)
+++ xsoft/graphweb/firefox.xml	(revision 0bcaa9a66f6b3b5a4347e83a5f3928902fa7ea16)
@@ -5,12 +5,12 @@
   %general-entities;
 
-  <!ENTITY firefox-download-http "&mozilla-http;/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">
+  <!ENTITY firefox-download-http "&mozilla-http;/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.xz">
 <!-- 550 Permission denied.
   <!ENTITY firefox-download-ftp "&mozilla-ftp;/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2"> -->
   <!ENTITY firefox-download-ftp " ">
-  <!ENTITY firefox-md5sum        "26a64a80cbd5b77d3b0d9734bff5bbad">
-  <!ENTITY firefox-size          "171 MB">
-  <!ENTITY firefox-buildsize     "3.8 GB (75 MB installed)">
-  <!ENTITY firefox-time          "7.7 SBU (using parallelism=8)">
+  <!ENTITY firefox-md5sum        "81324515c2f562db8c4800ebafaa5d25">
+  <!ENTITY firefox-size          "153 MB">
+  <!ENTITY firefox-buildsize     "4.0 GB (77 MB installed)">
+  <!ENTITY firefox-time          "39 SBU">
 ]>
 
@@ -217,5 +217,7 @@
 ac_add_options --enable-url-classifier
 
-ac_add_options --enable-system-cairo
+# From firefox-40, using system cairo causes firefox to crash
+# frequently when it is doing background rendering in a tab.
+#ac_add_options --enable-system-cairo
 ac_add_options --enable-system-ffi
 ac_add_options --enable-system-pixman
