Author: pierre
Date: Wed Feb 14 09:23:49 2018
New Revision: 19763

Log:
Patch pulseaudio for building with glibc-2.27

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/multimedia/libdriv/pulseaudio.xml

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent      Tue Feb 13 11:37:54 2018        (r19762)
+++ trunk/BOOK/general.ent      Wed Feb 14 09:23:49 2018        (r19763)
@@ -1,12 +1,12 @@
 <!-- $LastChangedBy$ $Date$ -->
 
-<!ENTITY day          "13">                   <!-- Always 2 digits -->
+<!ENTITY day          "14">                   <!-- Always 2 digits -->
 <!ENTITY month        "02">                   <!-- Always 2 digits -->
 <!ENTITY year         "2018">
 <!ENTITY copyrightdate "2001-&year;">
 <!ENTITY copyholder   "The BLFS Development Team">
 <!ENTITY version      "&year;-&month;-&day;">
-<!ENTITY releasedate  "February 13th, &year;">
+<!ENTITY releasedate  "February 14th, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "development">          <!-- x.y|development -->

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Tue Feb 13 11:37:54 
2018        (r19762)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Wed Feb 14 09:23:49 
2018        (r19763)
@@ -42,6 +42,17 @@
     </listitem>
 -->
     <listitem>
+      <para>February 14th, 2018</para>
+      <itemizedlist>
+        <listitem>
+          <para>[pierre] - Add a patch to pulseaudio-11.1, to allow building
+          with glibc-2.27. Fixes
+          <ulink url="&blfs-ticket-root;10366">#10366</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>February 13th, 2018</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/multimedia/libdriv/pulseaudio.xml
==============================================================================
--- trunk/BOOK/multimedia/libdriv/pulseaudio.xml        Tue Feb 13 11:37:54 
2018        (r19762)
+++ trunk/BOOK/multimedia/libdriv/pulseaudio.xml        Wed Feb 14 09:23:49 
2018        (r19763)
@@ -75,6 +75,16 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Required patch if using glibc-2.27:
+          <ulink 
url="&patch-root;/pulseaudio-&pulseaudio-version;-glibc_2.27_fix-1.patch"/>
+        </para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">PulseAudio Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -127,7 +137,11 @@
       commands:
     </para>
 
-<screen><userinput>./configure --prefix=/usr        \
+    <screen><userinput>patch -Np1 -i 
../pulseaudio-&pulseaudio-version;-glibc_2.27_fix-1.patch &amp;&amp;
+
+AUTOPOINT='intltoolize --automake --copy' autoreconf -fiv &amp;&amp;
+
+./configure --prefix=/usr        \
             --sysconfdir=/etc    \
             --localstatedir=/var \
             --disable-bluez4     \
@@ -161,6 +175,19 @@
     <title>Command Explanations</title>
 
     <para>
+      <command>patch -Np1 -i ...</command>: This patch fixes a name conflict
+      with glibc-2.27. It is usable with previous versions of glibc.
+    </para>
+
+    <para>
+      <command>AUTOPOINT='intltoolize ...</command>:
+      <command>autoreconf</command> needs ot be run after applying the
+      patch. Running <command>intltoolize</command> instead of
+      <command>autopoint</command> prevents an error when running
+      <command>configure</command> afterwards.
+    </para>
+
+    <para>
       <parameter>--disable-bluez4</parameter>: This switch disables
       support for <application>BlueZ</application> version 4 in favour
       of <application>BlueZ</application> version 5 since the latter
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to