Changeset 27040e68


Ignore:
Timestamp:
05/28/2024 02:00:01 AM (5 weeks ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
trunk
Children:
0743242
Parents:
7f5ae162 (diff), df2e08c8 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'trunk' of git.linuxfromscratch.org:blfs into trunk

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/graphlib/aalib.xml

    r7f5ae162 r27040e68  
    105105
    106106    <para>
     107      To allow building this package with GCC-14 or later, add some missing
     108      <literal>#include</literal> directives and fix a bad
     109      <literal>return</literal> statement to make the code C99-compatible.
     110      Then regenerate the <command>configure</command> script to ensure
     111      the C code for probing system features C99-compatible as well:
     112    </para>
     113
     114<screen><userinput>sed -i '1i#include &lt;stdlib.h&gt;'                            \
     115    src/aa{fire,info,lib,linuxkbd,savefont,test,regist}.c &amp;&amp;
     116sed -i '1i#include &lt;string.h&gt;'                            \
     117    src/aa{kbdreg,moureg,test,regist}.c                   &amp;&amp;
     118sed -i '/X11_KBDDRIVER/a#include &lt;X11/Xutil.h&gt;'           \
     119    src/aaxkbd.c                                          &amp;&amp;
     120sed -i '/rawmode_init/,/^}/s/return;/return 0;/'          \
     121    src/aalinuxkbd.c                                      &amp;&amp;
     122autoconf</userinput></screen>
     123
     124    <para>
    107125      Install <application>AAlib</application> by running the following
    108126      commands:
  • general/sysutils/accountsservice.xml

    r7f5ae162 r27040e68  
    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>
  • postlfs/security/polkit.xml

    r7f5ae162 r27040e68  
    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.