Author: pierre Date: Tue May 19 07:07:40 2020 New Revision: 23171 Log: Fix "multiple definition in lxtask
Modified: trunk/BOOK/introduction/welcome/changelog.xml trunk/BOOK/lxde/apps/lxtask.xml Modified: trunk/BOOK/introduction/welcome/changelog.xml ============================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml Tue May 19 05:06:35 2020 (r23170) +++ trunk/BOOK/introduction/welcome/changelog.xml Tue May 19 07:07:40 2020 (r23171) @@ -45,6 +45,10 @@ <para>May 19th, 2020</para> <itemizedlist> <listitem> + <para>[pierre] - Add a patch to lxtask to avoid the use of + -fcommon.</para> + </listitem> + <listitem> <para>[pierre] - Add a patch to menu-cache to fix a memory leak and avoid the use of -fcommon.</para> </listitem> Modified: trunk/BOOK/lxde/apps/lxtask.xml ============================================================================== --- trunk/BOOK/lxde/apps/lxtask.xml Tue May 19 05:06:35 2020 (r23170) +++ trunk/BOOK/lxde/apps/lxtask.xml Tue May 19 07:07:40 2020 (r23171) @@ -8,7 +8,7 @@ <!ENTITY lxtask-download-ftp " "> <!ENTITY lxtask-md5sum "f19a9e4d22a075f984681a480f0aa886"> <!ENTITY lxtask-size "136 KB"> - <!ENTITY lxtask-buildsize "2.5 MB"> + <!ENTITY lxtask-buildsize "3.5 MB"> <!ENTITY lxtask-time "less than 0.1 SBU"> ]> @@ -70,6 +70,17 @@ </listitem> </itemizedlist> + <bridgehead renderas="sect3">Additional Downloads</bridgehead> + <itemizedlist spacing="compact"> + <listitem> + <para> + Required patch: + <ulink url="&patch-root;/lxtask-&lxtask-version;-gcc10_fix-1.patch"/> + </para> + </listitem> + </itemizedlist> + + <bridgehead renderas="sect3">LXTask Dependencies</bridgehead> <bridgehead renderas="sect4">Required</bridgehead> @@ -86,12 +97,18 @@ <title>Installation of LXTask</title> <para> + First, fix some <quote>multiple definition</quote> issues exposed + by GCC-10: + </para> + +<screen><userinput>patch -Np1 -i ../lxtask-&lxtask-version;-gcc10_fix-1.patch</userinput></screen> + + <para> Install <application>LXTask</application> by running the following commands: </para> -<screen><userinput>./configure --prefix=/usr \ - CFLAGS="$CFLAGS -fcommon" && +<screen><userinput>./configure --prefix=/usr && make</userinput></screen> <para> -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page