Changeset cd85943


Ignore:
Timestamp:
05/28/2024 01:42:49 AM (4 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.2, gimp3, lazarus, trunk, xry111/for-12.3, xry111/spidermonkey128
Children:
df2e08c8
Parents:
edf34da5
git-author:
Xi Ruoyao <xry111@…> (05/28/2024 01:03:14 AM)
git-committer:
Xi Ruoyao <xry111@…> (05/28/2024 01:42:49 AM)
Message:

polkit: Adapt for GCC 14

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/security/polkit.xml

    redf34da5 rcd85943  
    187187      -Dman=true                          \
    188188      -Dsession_tracking=libsystemd-login \
    189       -Dtests=true                        &amp;&amp;
    190 ninja</userinput></screen>
     189      -Dtests=true</userinput></screen>
    191190
    192191<screen revision="sysv"><userinput>mkdir build &amp;&amp;
     
    198197      -Dman=true                    \
    199198      -Dsession_tracking=libelogind \
    200       -Dtests=true                  &amp;&amp;
    201 ninja</userinput></screen>
     199      -Dtests=true</userinput></screen>
     200
     201    <!-- We have to do this after meson setup because mocklibc is extracted
     202         from a tarball by the meson setup command.  Also note that
     203         test/mocklibc is useless and patching it won't work.  -->
     204    <para>
     205      Now adapt the shipped mocklibc copy to allow building the test suite
     206      with GCC 14 or later:
     207    </para>
     208
     209<screen><userinput>grep 'print_indent'     ../subprojects/mocklibc-1.0/src/netgroup.c \
     210     | sed 's/ {/;/' >> ../subprojects/mocklibc-1.0/src/netgroup.h &amp;&amp;
     211sed -i '1i#include &lt;stdio.h&gt;'                                      \
     212    ../subprojects/mocklibc-1.0/src/netgroup.h</userinput></screen>
     213
     214    <para>
     215      Build the package:
     216    </para>
     217
     218<screen><userinput>ninja</userinput></screen>
    202219
    203220    <para>
Note: See TracChangeset for help on using the changeset viewer.