mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Fix vinagre, transcode and dhcp for GCC 10
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23134 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
547c0ebc6c
commit
5fccdfc8c6
@ -108,7 +108,7 @@
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/usr \
|
||||
<screen><userinput>./configure --prefix=/usr CFLAGS="$CFLAGS -fcommon" \
|
||||
--enable-compile-warnings=minimum &&
|
||||
make</userinput></screen>
|
||||
|
||||
|
@ -44,6 +44,16 @@
|
||||
<listitem>
|
||||
<para>May 14th, 2020</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[pierre] - Fix building transcode with GCC-10.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[pierre] - Fix building vinagre with GCC-10.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[pierre] - Fix building dhcp with GCC-10. From a patch
|
||||
by Xi Ruoyao.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[pierre] - Fix building menu-cache with GCC-10.</para>
|
||||
</listitem>
|
||||
|
@ -188,9 +188,10 @@
|
||||
$(find . -name Makefile.in -exec grep -l 'docsdir =' {} \;) &&
|
||||
|
||||
patch -Np1 -i ../transcode-&transcode-version;-ffmpeg4-1.patch &&
|
||||
./configure --prefix=/usr \
|
||||
--enable-alsa \
|
||||
--enable-libmpeg2 &&
|
||||
./configure --prefix=/usr \
|
||||
CFLAGS="$CFLAGS -fcommon" \
|
||||
--enable-alsa \
|
||||
--enable-libmpeg2 &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>
|
||||
|
@ -127,6 +127,15 @@
|
||||
<sect2 role="installation">
|
||||
<title>Installation of ISC DHCP</title>
|
||||
|
||||
<para>
|
||||
First, fix a build issue with GCC 10 and later:
|
||||
</para>
|
||||
|
||||
<screen><userinput>sed -i '/o.*dhcp_type/d' server/mdb.c &&
|
||||
sed -r '/u.*(local|remote)_port/d' \
|
||||
-i client/dhclient.c \
|
||||
relay/dhcrelay.c</userinput></screen>
|
||||
|
||||
<note>
|
||||
<para>
|
||||
This package does not support parallel build.
|
||||
|
Loading…
Reference in New Issue
Block a user