mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-29 10:52:14 +08:00
Adapt PulseAudio to ALSA API changes.
With ALSA 1.1.9, it became fatal to include headers from /usr/include rather than /usr/include/alsa, and the headers in /usr/include added a warning regarding this. Pulseaudio also doesn't use pkg-config for a large majority of it's headers (reported upstream), so a modification had to be done to account for that as well. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21624 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
6d78663fb5
commit
dc2615fa0e
@ -44,6 +44,9 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>May 24th, 2019</para>
|
<para>May 24th, 2019</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[renodr] - Adapt Pulseaudio to ALSA API Changes.</para>
|
||||||
|
</listitem>
|
||||||
<listitem revision="sysv">
|
<listitem revision="sysv">
|
||||||
<para>[dj] - Minor cleanups to network bootscripts.</para>
|
<para>[dj] - Minor cleanups to network bootscripts.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
@ -138,10 +138,22 @@
|
|||||||
commands:
|
commands:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<!--<screen><userinput>patch -Np1 -i ../pulseaudio-&pulseaudio-version;-glibc_2.27_fix-1.patch &&
|
<para>
|
||||||
|
First, adapt Pulseaudio to upstream ALSA API changes:
|
||||||
|
</para>
|
||||||
|
<!-- This is due to it becoming FATAL to include ALSA headers from
|
||||||
|
/usr/include instead of /usr/include/alsa. Only one of these
|
||||||
|
files uses pkg-config to get it's headers, and as a result,
|
||||||
|
the hardcoded paths need to be updated. In this case, I developed
|
||||||
|
three seds and a call to ./bootstrap.sh to fix this. Other packages
|
||||||
|
may be affected by this upstream ALSA change as well. -->
|
||||||
|
|
||||||
AUTOPOINT='intltoolize \-\-automake \-\-copy' autoreconf -fiv &&-->
|
<screen><userinput>sed -i "s:asoundlib.h:alsa/asoundlib.h:" src/modules/alsa/*.{c,h} &&
|
||||||
<screen><userinput>./configure --prefix=/usr \
|
sed -i "s:use-case.h:alsa/use-case.h:" configure.ac &&
|
||||||
|
sed -i "s:use-case.h:alsa/use-case.h:" src/modules/alsa/alsa-ucm.h</userinput></screen>
|
||||||
|
|
||||||
|
<screen><userinput>NOCONFIGURE=1 ./bootstrap.sh &&
|
||||||
|
./configure --prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--disable-bluez4 \
|
--disable-bluez4 \
|
||||||
|
Loading…
Reference in New Issue
Block a user