Ignore:
Timestamp:
06/05/2024 05:11:38 AM (3 months ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
gimp3, trunk, xry111/spidermonkey128
Children:
3ded3127
Parents:
e067e09
Message:

ncftp: fix building with GCC-14.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netprogs/ncftp.xml

    re067e09 r51772cc  
    106106      license.
    107107    </para>
    108 <!--
    109     <para>
    110       First, fix an issue caused by a change in behavior in GCC-10:
    111     </para>
    112 
    113 <screen><userinput remap="pre">sed -i 's/^Bookmark/extern Bookmark/' sh_util/gpshare.c</userinput></screen>
    114 
    115     <para>
    116       Next, update the configure script to use modern C standards:
    117     </para>
    118 
    119 <screen><userinput remap="pre">patch -Np1 -i ../ncftp-&ncftp-version;-configure_fixes-1.patch &amp;&amp;
    120 autoreconf -fiv -I autoconf_local</userinput></screen>
    121 -->
     108
     109    <para>
     110      First, fix an issue with the configure script introduced by gcc-14:
     111    </para>
     112
     113<screen><userinput remap="pre">sed -i 's/def HAVE_STDLIB_H/ 1/;s/extern select/extern int select/' configure</userinput></screen>
     114
    122115    <para>
    123116      To install <application>NcFTP</application> using the
Note: See TracChangeset for help on using the changeset viewer.