Index: general/prog/llvm.xml
===================================================================
--- general/prog/llvm.xml	(revision 2c4e26c66eed864faaf66d1b245d73c0e73d33a7)
+++ general/prog/llvm.xml	(revision a6221fd09bc22ccae79551ba86b7b979b26f178b)
@@ -5,19 +5,19 @@
   %general-entities;
 
-  <!ENTITY llvm-download-http "http://llvm.org/releases/&llvm-version;/llvm-&llvm-version;.src.tar.gz">
+  <!ENTITY llvm-download-http "http://llvm.org/releases/&llvm-version;/llvm-&llvm-version;.src.tar.xz">
   <!ENTITY llvm-download-ftp  " ">
-  <!ENTITY llvm-md5sum        "a20669f75967440de949ac3b1bad439c">
-  <!ENTITY llvm-size          "16 MB">
-  <!ENTITY llvm-buildsize     "543 MB (1.2 GB with Clang)">
-  <!ENTITY llvm-time          "12 SBU (23 SBU with Clang) and 0.3 for tests">
-
-  <!ENTITY clang-download-http "http://llvm.org/releases/&llvm-version;/cfe-&llvm-version;.src.tar.gz">
-  <!ENTITY clang-md5sum        "87945973b7c73038871c5f849a818588">
-  <!ENTITY clang-size          "11 MB">
-
-  <!ENTITY rt-version                "3.4">
-  <!ENTITY compiler-rt-download-http "http://llvm.org/releases/&rt-version;/compiler-rt-&rt-version;.src.tar.gz">
-  <!ENTITY compiler-rt-md5sum        "7938353e3a3bda85733a165e7ac4bb84">
-  <!ENTITY compiler-rt-size          "1.8 MB">
+  <!ENTITY llvm-md5sum        "d6987305a1a0e58e128c1374cd3b8fef">
+  <!ENTITY llvm-size          "12 MB">
+  <!ENTITY llvm-buildsize     "618 MB (1.3 GB with Clang) and 78 MB for the tests">
+  <!ENTITY llvm-time          "20 SBU (38 SBU with Clang) and 0.3 for tests">
+
+  <!ENTITY clang-download-http "http://llvm.org/releases/&llvm-version;/cfe-&llvm-version;.src.tar.xz">
+  <!ENTITY clang-md5sum        "27718dd13c7df83e15f997116bbb4aef">
+  <!ENTITY clang-size          "7.9 MB">
+
+  <!ENTITY rt-version                "&llvm-version;">
+  <!ENTITY compiler-rt-download-http "http://llvm.org/releases/&rt-version;/compiler-rt-&rt-version;.src.tar.xz">
+  <!ENTITY compiler-rt-md5sum        "02624d2a9144278c3808c00dbbab56c8">
+  <!ENTITY compiler-rt-size          "1.1 MB">
 ]>
 
@@ -40,16 +40,18 @@
 
     <para>
-      The <application>LLVM</application> package contains a collection of modular and
-      reusable compiler and toolchain technologies. The Low Level Virtual Machine
-      (LLVM) Core libraries provide a modern source and target-independent optimizer,
-      along with code generation support for many popular CPUs (as well as some less
-      common ones!). These libraries are built around a well specified code
-      representation known as the LLVM intermediate representation ("LLVM IR").
-    </para>
-
-    <para>
-      The optional <application>Clang</application> and <application>Compiler RT</application>
-      packages provide a new C, C++, Objective C and Objective C++ front-ends and runtime
-      libraries for the <application>LLVM</application>.
+      The <application>LLVM</application> package contains a collection of
+      modular and reusable compiler and toolchain technologies. The Low Level
+      Virtual Machine (LLVM) Core libraries provide a modern source and
+      target-independent optimizer, along with code generation support for many
+      popular CPUs (as well as some less common ones!). These libraries are
+      built around a well specified code representation known as the LLVM
+      intermediate representation ("LLVM IR").
+    </para>
+
+    <para>
+      The optional <application>Clang</application> and <application>Compiler
+      RT</application> packages provide a new C, C++, Objective C and Objective
+      C++ front-ends and runtime libraries for the
+      <application>LLVM</application>.
     </para>
 
@@ -140,12 +142,13 @@
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
+      <xref linkend="cmake"/>,
       <xref linkend="doxygen"/>,
       <xref linkend="graphviz"/>,
       <xref linkend="libxml2"/>,
       <xref linkend="texlive"/>,
+      <xref linkend="valgrind"/>,
       <xref linkend="zip"/>,
-      <ulink url="http://www.ocaml.org/">OCaml</ulink>,
-      <ulink url="http://pypi.python.org/pypi/Sphinx">Sphinx</ulink> and
-      <xref linkend="valgrind"/>
+      <ulink url="http://www.ocaml.org/">OCaml</ulink>, and
+      <ulink url="http://pypi.python.org/pypi/Sphinx">Sphinx</ulink>
     </para>
 
@@ -167,5 +170,5 @@
 
 mv tools/cfe-&llvm-version;.src tools/clang &amp;&amp;
-mv projects/compiler-rt-&rt-version; projects/compiler-rt</userinput></screen>
+mv projects/compiler-rt-&rt-version;.src projects/compiler-rt</userinput></screen>
 
     <para>
@@ -174,5 +177,7 @@
     </para>
 
-<screen><userinput>sed -e 's:/docs/llvm:/share/doc/llvm-&llvm-version;:' \
+<screen><userinput>sed -i '/Support/ iLLVMLibsOptions := ../../lib/IR/Release*/Pass.o' \
+       tools/bugpoint/Makefile tools/opt/Makefile &amp;&amp;
+sed -e "s:/docs/llvm:/share/doc/llvm-&llvm-version;:" \
     -i Makefile.config.in &amp;&amp;
 
@@ -239,6 +244,11 @@
 
     <para>
-      <command>sed -e ...</command>: This sed fixes location of the
-      installed documentation.
+      <command>sed -e ... Makefile.config.in</command>: This sed fixes
+      location of the installed documentation.
+    </para>
+
+    <para>
+      <command>sed -i ... tools/opt/Makefile</command>: Crappy workaround to
+      make sure it links correctly.
     </para>
 
@@ -280,12 +290,12 @@
       <seglistitem>
         <seg>
-          bugpoint, c-index-test, clang, clang++ (symlink), clang-check,
-          clang-format, clang-tblgen, llc, lli, lli-child-target, llvm-ar,
-          llvm-as, llvm-bcanalyzer, llvm-config, llvm-cov, llvm-diff, llvm-dis,
-          llvm-dwarfdump, llvm-extract, llvm-link, llvm-mc, llvm-mcmarkup,
-          llvm-nm, llvm-objdump,<!-- llvm-prof,--> llvm-ranlib (symlink),
-          llvm-readobj, llvm-rtdyld, llvm-size, llvm-stress, llvm-symbolizer,
-          llvm-tblgen, macho-dump, opt, scan-build (symlink) and scan-view
-          (symlink)
+          bugpoint, c-index-test, clang, clang++ (symlink), count, FileCheck,
+          clang-check, clang-format, clang-tblgen, llc, lli, lli-child-target,
+          llvm-ar, llvm-as, llvm-bcanalyzer, llvm-config, llvm-cov, llvm-diff,
+          llvm-dis, llvm-dwarfdump, llvm-extract, llvm-link, llvm-mc,
+          llvm-mcmarkup, llvm-nm, llvm-objdump, llvm-profdata, llvm-ranlib
+          (symlink), llvm-readobj, llvm-rtdyld, llvm-size, llvm-stress,
+          llvm-symbolizer, llvm-tblgen, macho-dump, not, opt, scan-build
+          (symlink), and scan-view (symlink)
         </seg>
         <seg>
@@ -295,13 +305,8 @@
         </seg>
         <seg>
-          /usr/include/clang,
-          /usr/include/clang-c,
-          /usr/include/llvm,
-          /usr/include/llvm-c,
-          /usr/lib/clang,
-          /usr/lib/clang-analyzer,
-          /usr/share/doc/html/clang,
-          /usr/share/doc/llvm-&llvm-version;, and
-          /usr/share/doc/ps
+          /usr/include/{clang,clang-c,llvm,llvm-c},
+          /usr/lib/{clang,clang-analyzer},
+          /usr/share/doc/llvm-&llvm-version;,
+          and /usr/share/llvm
         </seg>
       </seglistitem>
Index: general/sysutils/mc.xml
===================================================================
--- general/sysutils/mc.xml	(revision 2c4e26c66eed864faaf66d1b245d73c0e73d33a7)
+++ general/sysutils/mc.xml	(revision a6221fd09bc22ccae79551ba86b7b979b26f178b)
@@ -7,8 +7,8 @@
   <!ENTITY mc-download-http "http://ftp.midnight-commander.org/mc-&mc-version;.tar.xz">
   <!ENTITY mc-download-ftp  "ftp://ftp.osuosl.org/pub/midnightcommander/mc-&mc-version;.tar.xz">
-  <!ENTITY mc-md5sum        "7ecccc03df060cd0ca1414a5a14e6649">
+  <!ENTITY mc-md5sum        "d967caa12765eb86e52a6a63ca202500">
   <!ENTITY mc-size          "2.2 MB">
-  <!ENTITY mc-buildsize     "75 MB">
-  <!ENTITY mc-time          "0.7 SBU">
+  <!ENTITY mc-buildsize     "71 MB (119 MB, running the test suite)">
+  <!ENTITY mc-time          "0.7 SBU (additional 0.1 SBU, running the test suite)">
 ]>
 
Index: introduction/welcome/changelog.xml
===================================================================
--- introduction/welcome/changelog.xml	(revision 2c4e26c66eed864faaf66d1b245d73c0e73d33a7)
+++ introduction/welcome/changelog.xml	(revision a6221fd09bc22ccae79551ba86b7b979b26f178b)
@@ -48,4 +48,12 @@
       <para>September 6th, 2014</para>
       <itemizedlist>
+        <listitem>
+          <para>[fernando] - Update to mc-4.8.13. Fixes
+          <ulink url="&blfs-ticket-root;5476">#5476</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[fernando] - Update to LLVM-3.5.0. Fixes
+          <ulink url="&blfs-ticket-root;5475">#5475</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[igor] - Update to mercurial-3.1.1. Fixes
Index: lxde/apps/lxdm.xml
===================================================================
--- lxde/apps/lxdm.xml	(revision 2c4e26c66eed864faaf66d1b245d73c0e73d33a7)
+++ lxde/apps/lxdm.xml	(revision a6221fd09bc22ccae79551ba86b7b979b26f178b)
@@ -261,4 +261,10 @@
 sed -i '/initdefault/ s/3/5/' /etc/inittab</userinput></screen>
 
+      <para>
+          One important script, executed after login, is
+          <filename>/etc/lxdm/Xsession</filename>, which we have fixed to fit
+          BLFS especifications.
+      </para>
+
     </sect3>
 
@@ -291,5 +297,6 @@
       <seglistitem>
         <seg>
-          lxdm, lxdm-binary and lxdm-config
+          lxdm, lxdm-binary and lxdm-config, and, under /usr/libexec/,
+          lxdm-greeter-gdk, lxdm-greeter-gtk, lxdm-numlock, and lxdm-session.
         </seg>
         <seg>
@@ -348,4 +355,30 @@
         </listitem>
       </varlistentry>
+
+      <varlistentry id="lxdm-greeter-gtk">
+        <term><command>lxdm-greeter-gtk</command></term>
+        <listitem>
+          <para>
+            is the graphical login greeter, where, between other options, user
+            name is chosen and password is typed (if not in auto login mode)
+          </para>
+          <indexterm zone="lxdm lxdm-greeter-gtk">
+            <primary sortas="b-lxdm">lxdm</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="lxdm-numlock">
+        <term><command>lxdm-numlock</command></term>
+        <listitem>
+          <para>
+            is a program to set the numlock key, if so defined in
+            <filename>/etc/lxdm/lxdm.conf</filename>
+          </para>
+          <indexterm zone="lxdm lxdm-numlock">
+            <primary sortas="b-lxdm">lxdm</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
     </variablelist>
   </sect2>
Index: packages.ent
===================================================================
--- packages.ent	(revision 2c4e26c66eed864faaf66d1b245d73c0e73d33a7)
+++ packages.ent	(revision a6221fd09bc22ccae79551ba86b7b979b26f178b)
@@ -221,5 +221,5 @@
 <!ENTITY lm_sensors-version           "3.3.5">
 <!ENTITY logrotate-version            "3.8.7">
-<!ENTITY mc-version                   "4.8.12">
+<!ENTITY mc-version                   "4.8.13">
 <!ENTITY obex-data-server-version     "0.4.6">
 <!ENTITY p7zip-version                "9.20.1">
@@ -260,5 +260,5 @@
 <!ENTITY guile-version                "2.0.11">
 <!ENTITY librep-version               "0.92.3">
-<!ENTITY llvm-version                 "3.4.2">
+<!ENTITY llvm-version                 "3.5.0">
 <!ENTITY lua-version                  "5.2.3">
 <!ENTITY mercurial-version            "3.1.1">
