mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 07:17:15 +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:
|
commands:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen><userinput>./configure --prefix=/usr \
|
<screen><userinput>./configure --prefix=/usr CFLAGS="$CFLAGS -fcommon" \
|
||||||
--enable-compile-warnings=minimum &&
|
--enable-compile-warnings=minimum &&
|
||||||
make</userinput></screen>
|
make</userinput></screen>
|
||||||
|
|
||||||
|
@ -44,6 +44,16 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>May 14th, 2020</para>
|
<para>May 14th, 2020</para>
|
||||||
<itemizedlist>
|
<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>
|
<listitem>
|
||||||
<para>[pierre] - Fix building menu-cache with GCC-10.</para>
|
<para>[pierre] - Fix building menu-cache with GCC-10.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
@ -188,9 +188,10 @@
|
|||||||
$(find . -name Makefile.in -exec grep -l 'docsdir =' {} \;) &&
|
$(find . -name Makefile.in -exec grep -l 'docsdir =' {} \;) &&
|
||||||
|
|
||||||
patch -Np1 -i ../transcode-&transcode-version;-ffmpeg4-1.patch &&
|
patch -Np1 -i ../transcode-&transcode-version;-ffmpeg4-1.patch &&
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--enable-alsa \
|
CFLAGS="$CFLAGS -fcommon" \
|
||||||
--enable-libmpeg2 &&
|
--enable-alsa \
|
||||||
|
--enable-libmpeg2 &&
|
||||||
make</userinput></screen>
|
make</userinput></screen>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
@ -127,6 +127,15 @@
|
|||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
<title>Installation of ISC DHCP</title>
|
<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>
|
<note>
|
||||||
<para>
|
<para>
|
||||||
This package does not support parallel build.
|
This package does not support parallel build.
|
||||||
|
Loading…
Reference in New Issue
Block a user