Index: general.ent
===================================================================
--- general.ent	(revision c447484d51ae2032cac9b79d2770def0944f7d0a)
+++ general.ent	(revision f527eeb6a672c93f5acbcb094392a4c778967e3f)
@@ -1,5 +1,5 @@
 <!-- $LastChangedBy$ $Date$ -->
 
-<!ENTITY day          "08">                   <!-- Always 2 digits -->
+<!ENTITY day          "09">                   <!-- Always 2 digits -->
 <!ENTITY month        "04">                   <!-- Always 2 digits -->
 <!ENTITY year         "2019">
@@ -7,5 +7,5 @@
 <!ENTITY copyholder   "The BLFS Development Team">
 <!ENTITY version      "&year;-&month;-&day;">
-<!ENTITY releasedate  "April 8th, &year;">
+<!ENTITY releasedate  "April 9th, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
Index: general/graphlib/glm.xml
===================================================================
--- general/graphlib/glm.xml	(revision f527eeb6a672c93f5acbcb094392a4c778967e3f)
+++ general/graphlib/glm.xml	(revision f527eeb6a672c93f5acbcb094392a4c778967e3f)
@@ -0,0 +1,163 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY glm-download-http "https://github.com/g-truc/glm/archive/&glm-version;.tar.gz">
+  <!ENTITY glm-download-ftp  " ">
+  <!ENTITY glm-md5sum        "e06e859bd80c5d6042f5c53630f385ec">
+  <!ENTITY glm-size          "4.4 MB">
+  <!ENTITY glm-buildsize     "50 MB">
+  <!ENTITY glm-time          "0.8 SBU">
+]>
+
+<sect1 id="glm" xreflabel="GLM-&glm-version;">
+  <?dbhtml filename="glm.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>GLM-&glm-version;</title>
+
+  <indexterm zone="glm">
+    <primary sortas="a-GLM">GLM</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to GLM</title>
+
+    <para>
+      OpenGL Mathematics (<application>GLM</application>) is a header-only C++
+      mathematics library for graphics software based on the OpenGL Shading
+      Language (GLSL) specifications. An extension system provides extended
+      capabilities such as matrix transformations and quaternions.
+    </para>
+
+    &lfs84_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&glm-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&glm-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &glm-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &glm-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &glm-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &glm-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <note>
+      <para>
+        The <application>GLM</application> source tarball shown above
+        downloads with the correct name, glm-&glm-version;.tar.gz, if
+        using a browser such as Firefox. If you prefer to use a command line
+        program such as wget, you normally would obtain &glm-version;.tar.gz.
+        To obtain this package with the proper filename, run:
+
+<screen><userinput>wget -c https://github.com/g-truc/glm/archive/&glm-version;.tar.gz \
+     -O glm-&glm-version;.tar.gz</userinput></screen>
+        </para>
+      </note>
+
+    <bridgehead renderas="sect3">GLM Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <xref linkend="cmake"/>
+    </para>
+
+    <para condition="html" role="usernotes">
+      User Notes: <ulink url="&blfs-wiki;/GLM"/>
+    </para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of GLM</title>
+
+    <para>
+      Install <application>GLM</application> by running the following
+      commands:
+    </para>
+
+<screen><userinput>mkdir build &amp;&amp;
+cd build    &amp;&amp;
+
+cmake -DCMAKE_INSTALL_PREFIX=/usr   \
+      -DCMAKE_INSTALL_LIBDIR=lib .. &amp;&amp;
+make</userinput></screen>
+
+    <para>
+      To test the results, issue: <command>make test</command>.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para>
+      <command>-DCMAKE_INSTALL_LIBDIR=lib ..</command>: Although no compiled
+      libraries are installed, this command ensures that the
+      <application>cmake</application> and
+      <application>pkg-config</application> files are installed into
+      <filename class="directory">/usr/lib</filename>.
+    </para>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Program</segtitle>
+      <segtitle>Installed Library</segtitle>
+      <segtitle>Installed Directory</segtitle>
+
+      <seglistitem>
+        <seg>
+          None.
+        </seg>
+        <seg>
+          None.
+        </seg>
+        <seg>
+          /usr/include/glm.
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <!-- this package has no programs or libraries to describe -->
+
+  </sect2>
+</sect1>
Index: general/graphlib/graphlib.xml
===================================================================
--- general/graphlib/graphlib.xml	(revision c447484d51ae2032cac9b79d2770def0944f7d0a)
+++ general/graphlib/graphlib.xml	(revision f527eeb6a672c93f5acbcb094392a4c778967e3f)
@@ -29,4 +29,5 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gegl.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="giflib.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="glm.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="graphite2.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="harfbuzz.xml"/>
Index: introduction/welcome/changelog.xml
===================================================================
--- introduction/welcome/changelog.xml	(revision c447484d51ae2032cac9b79d2770def0944f7d0a)
+++ introduction/welcome/changelog.xml	(revision f527eeb6a672c93f5acbcb094392a4c778967e3f)
@@ -42,4 +42,15 @@
     </listitem>
 -->
+    <listitem>
+      <para>April 9th, 2019</para>
+      <itemizedlist>
+        <listitem>
+          <para>[ken] - Update to asymptote-2.49 and add its new recommended
+          dependencies of glew-2.1.0 and glm-0.9.9.5. Fixes
+          <ulink url="&blfs-ticket-root;11867">#11867</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>April 8th, 2019</para>
Index: packages.ent
===================================================================
--- packages.ent	(revision c447484d51ae2032cac9b79d2770def0944f7d0a)
+++ packages.ent	(revision f527eeb6a672c93f5acbcb094392a4c778967e3f)
@@ -201,4 +201,5 @@
 <!ENTITY gegl-version                 "0.4.14">
 <!ENTITY giflib-version               "5.1.9">
+<!ENTITY glm-version                  "0.9.9.5">
 <!ENTITY graphite2-version            "1.3.13">
 <!ENTITY harfbuzz-version             "2.4.0">
@@ -688,4 +689,5 @@
 <!ENTITY freeglut-version             "3.0.0">
 <!ENTITY gdk-pixbuf-version           "2.38.1">
+<!ENTITY glew-version                 "2.1.0">
 <!ENTITY glu-version                  "9.0.0">
 <!ENTITY goffice010-version           "0.10.44">
@@ -1026,5 +1028,5 @@
  in asymptote, biber and xindy -->
 <!ENTITY texlive-year                 "2018">
-<!ENTITY asymptote-version            "2.47">
+<!ENTITY asymptote-version            "2.49">
 <!ENTITY biber-version                "2.12">
 <!ENTITY biblatex-version             "3.12">
Index: pst/typesetting/asymptote.xml
===================================================================
--- pst/typesetting/asymptote.xml	(revision c447484d51ae2032cac9b79d2770def0944f7d0a)
+++ pst/typesetting/asymptote.xml	(revision f527eeb6a672c93f5acbcb094392a4c778967e3f)
@@ -7,8 +7,8 @@
   <!ENTITY asymptote-download-http "&sourceforge-dl;/asymptote/asymptote-&asymptote-version;.src.tgz">
   <!ENTITY asymptote-download-ftp  " ">
-  <!ENTITY asymptote-md5sum        "ffa053469aa1f6c8e5f40817646fe533">
-  <!ENTITY asymptote-size          "3.5 MB">
-  <!ENTITY asymptote-buildsize     "159 MB">
-  <!ENTITY asymptote-time          "2.0 SBU">
+  <!ENTITY asymptote-md5sum        "9b125968ff16edb27b10423877969e63">
+  <!ENTITY asymptote-size          "3.6 MB">
+  <!ENTITY asymptote-buildsize     "171 MB">
+  <!ENTITY asymptote-time          "2.5 SBU">
 ]>
 
@@ -81,5 +81,7 @@
     <para role="recommended">
       <xref linkend="freeglut"/>,
-      <xref linkend="gc"/> and
+      <xref linkend="gc"/>,
+      <xref linkend="glew"/>,
+      <xref linkend="glm"/> and
       <xref linkend="libtirpc"/>
     </para>
@@ -105,18 +107,4 @@
   <sect2 role="installation">
     <title>Installation of asymptote</title>
-
-    <para>
-      First, issue the following command to fix building with <xref
-      linkend="gc"/>:
-    </para>
-
-    <screen><userinput>cat &gt;&gt; main.cc &lt;&lt; EOF
-
-#ifdef USEGC
-GC_API void GC_CALL GC_throw_bad_alloc() {
-  std::bad_alloc();
-}
-#endif
-EOF</userinput></screen>
 
     <para>
@@ -141,7 +129,4 @@
     <para>
       To test the results, issue: <command>make check</command>.
-      Note that if PyQt5 has not been installed some UI tests will report
-      that pyuic5 and other commands are not found, followed by
-      ''Error 127 (ignored)'.
     </para>
 
Index: x/lib/glew.xml
===================================================================
--- x/lib/glew.xml	(revision f527eeb6a672c93f5acbcb094392a4c778967e3f)
+++ x/lib/glew.xml	(revision f527eeb6a672c93f5acbcb094392a4c778967e3f)
@@ -0,0 +1,200 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY glew-download-http "https://downloads.sourceforge.net/glew/glew-&glew-version;.tgz
+">
+  <!ENTITY glew-download-ftp  " ">
+  <!ENTITY glew-md5sum        "b2ab12331033ddfaa50dc39345343980">
+  <!ENTITY glew-size          "747 KB">
+  <!ENTITY glew-buildsize     "16 MB">
+  <!ENTITY glew-time          "less than 0.1 SBU">
+]>
+
+<sect1 id="glew" xreflabel="GLEW-&glew-version;">
+  <?dbhtml filename="glew.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>GLEW-&glew-version;</title>
+
+  <indexterm zone="glew">
+    <primary sortas="a-GLEW">GLEW</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to GLEW</title>
+
+    <para>
+      <application>GLEW</application> is the OpenGL Extension Wrangler Library.
+    </para>
+
+    &lfs84_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&glew-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&glew-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &glew-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &glew-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &glew-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &glew-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">glew Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <xref linkend="mesa"/>
+    </para>
+
+    <para condition="html" role="usernotes">
+      User Notes: <ulink url="&blfs-wiki;/GLEW"/>
+    </para>
+  </sect2>
+
+  <!--Required section-->
+  <sect2 role="installation">
+    <title>Installation of GLEW</title>
+
+    <para>
+      Install <application>GLEW</application> by running the following
+      commands:
+    </para>
+
+<screen><userinput>sed -i 's%lib64%lib%g' config/Makefile.linux &amp;&amp;
+sed -i -e '/glew.lib.static:/d' \
+       -e '/0644 .*STATIC/d'    \
+       -e 's/glew.lib.static//' Makefile     &amp;&amp;
+make</userinput></screen>
+
+    <para>
+      This package does not come with a test suite.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>make install.all</userinput></screen>
+  </sect2>
+
+  <!--Optional section-->
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para>
+      <command>sed -i 's%lib64%lib%g' ...</command>: This ensures that the
+      library is installed in <filename class="directory">/usr/lib</filename>.
+    </para>
+
+    <para>
+      <parameter>sed -i -e '/glew.lib.static:/d' ...</parameter>: This suppresses
+      the static library.
+    </para>
+
+    <para>
+      <command>make install.all</command>: This installs the programs as well as
+      the library.
+    </para>
+  </sect2>
+
+
+  <!--Required section-->
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Library</segtitle>
+      <segtitle>Installed Directory</segtitle>
+
+      <seglistitem>
+        <seg>
+          glewinfo, visualinfo.
+        </seg>
+        <seg>
+          libGLEW.so.
+        </seg>
+        <seg>
+          /usr/include/GL.
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <!-- If the program or library name conflicts (is the same) as the
+      package name, add -prog or -lib to the varlistentry entity id
+      and the 2nd entry of the indexterm zone entity -->
+
+      <varlistentry id="glewinfo">
+        <term><command>glewinfo</command></term>
+        <listitem>
+          <para>
+            provides information about the supported extensions.
+          </para>
+          <indexterm zone="glew glewinfo">
+            <primary sortas="b-glewinfo">glewinfo</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="visualinfo">
+        <term><command>visualinfo</command></term>
+        <listitem>
+          <para>
+            is an extended version of glxinfo.
+          </para>
+          <indexterm zone="glew visualinfo">
+            <primary sortas="b-visualinfo">visualinfo</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libGLEW.so">
+        <term><filename class="libraryfile">libGLEW.so</filename></term>
+        <listitem>
+          <para>
+            provides functions to access OpenGL extensions.
+          </para>
+          <indexterm zone="glew libGLEW.so">
+            <primary sortas="c-libGLEW.so">libGLEW.so</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </sect2>
+</sect1>
Index: x/lib/lib.xml
===================================================================
--- x/lib/lib.xml	(revision c447484d51ae2032cac9b79d2770def0944f7d0a)
+++ x/lib/lib.xml	(revision f527eeb6a672c93f5acbcb094392a4c778967e3f)
@@ -42,4 +42,5 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="freeglut.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gdk-pixbuf.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="glew.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="glu.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="goffice010.xml"/>
