Changeset df2e08c8 for general


Ignore:
Timestamp:
05/28/2024 01:42:49 AM (6 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk
Children:
27040e68
Parents:
cd85943
git-author:
Xi Ruoyao <xry111@…> (05/28/2024 01:19:25 AM)
git-committer:
Xi Ruoyao <xry111@…> (05/28/2024 01:42:49 AM)
Message:

accountsservice: Adapt for GCC 14

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/accountsservice.xml

    rcd85943 rdf2e08c8  
    144144      -Dadmin_group=adm   \
    145145      -Delogind=true      \
    146       -Dsystemdsystemunitdir=no &amp;&amp;
    147 ninja</userinput></screen>
     146      -Dsystemdsystemunitdir=no</userinput></screen>
    148147
    149148<screen revision="systemd"><userinput>mkdir build &amp;&amp;
     
    153152      --prefix=/usr       \
    154153      --buildtype=release \
    155       -Dadmin_group=adm   &amp;&amp;
    156 ninja</userinput></screen>
     154      -Dadmin_group=adm</userinput></screen>
     155
     156    <!-- We have to do this after meson setup because mocklibc is extracted
     157         from a tarball by the meson setup command.  -->
     158    <para>
     159      Now adapt the shipped mocklibc copy to allow building the test suite
     160      with GCC 14 or later:
     161    </para>
     162
     163<screen><userinput>grep 'print_indent'     ../subprojects/mocklibc-1.0/src/netgroup.c \
     164     | sed 's/ {/;/' >> ../subprojects/mocklibc-1.0/src/netgroup.h &amp;&amp;
     165sed -i '1i#include &lt;stdio.h&gt;'                                      \
     166    ../subprojects/mocklibc-1.0/src/netgroup.h</userinput></screen>
     167
     168    <para>
     169      Build the package:
     170    </para>
     171
     172    <screen><userinput>ninja</userinput></screen>
    157173
    158174    <para>
Note: See TracChangeset for help on using the changeset viewer.