Changeset 229d383c for general/prog


Ignore:
Timestamp:
08/21/2024 09:26:14 PM (4 weeks ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
12.2, lazarus, trunk
Children:
d8275c4
Parents:
c592b920
Message:

Subversion: fix building with GCC-14.

This was a relatively complicated fix, especially since you need to
forcibly regenerate the build system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/subversion.xml

    rc592b920 r229d383c  
    7979      </listitem>
    8080    </itemizedlist>
    81 <!--
     81
    8282    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    8383    <itemizedlist spacing="compact">
    8484      <listitem>
    8585        <para>
    86           Required patch for building with <xref linkend="apr"/>:
     86          Required patch:
    8787          <ulink url="&patch-root;/subversion-&subversion-version;-apr_1.7.0_fix-1.patch"/>
    8888        </para>
    8989      </listitem>
    9090    </itemizedlist>
    91 -->
     91
    9292    <bridgehead renderas="sect3">Subversion Dependencies</bridgehead>
    9393
     
    163163
    164164    <para>
    165       Next, adapt the Ruby bindings to ruby-3.2 and later:
    166     </para>
    167 
    168     <screen><userinput remap="pre">sed -e 's/File.exists?/File.exist?/'               \
    169     -i subversion/bindings/swig/ruby/svn/util.rb   \
    170        subversion/bindings/swig/ruby/test/test_wc.rb</userinput></screen>
     165      Next, fix building this package with GCC 14:
     166    </para>
     167
     168<screen><userinput remap="pre">patch -Np1 -i ../subversion-&subversion-version;-upstream_fixes-1.patch</userinput></screen>
     169
     170    <para>
     171      After modifying the SWIG bindings like we did with the patch, the build
     172      system must be regenerated so the bindings pick up the changes:
     173    </para>
     174
     175<screen><userinput remap="pre"> touch build/generator/swig/*.py &amp;&amp;
     176mv -v build-outputs.mk{,.old}   &amp;&amp;
     177./autogen.sh --release</userinput></screen>
    171178
    172179    <para>
Note: See TracChangeset for help on using the changeset viewer.