Changes in / [7f5ae162:27040e68]
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general/graphlib/aalib.xml
r7f5ae162 r27040e68 105 105 106 106 <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 <stdlib.h>' \ 115 src/aa{fire,info,lib,linuxkbd,savefont,test,regist}.c && 116 sed -i '1i#include <string.h>' \ 117 src/aa{kbdreg,moureg,test,regist}.c && 118 sed -i '/X11_KBDDRIVER/a#include <X11/Xutil.h>' \ 119 src/aaxkbd.c && 120 sed -i '/rawmode_init/,/^}/s/return;/return 0;/' \ 121 src/aalinuxkbd.c && 122 autoconf</userinput></screen> 123 124 <para> 107 125 Install <application>AAlib</application> by running the following 108 126 commands: -
general/sysutils/accountsservice.xml
r7f5ae162 r27040e68 144 144 -Dadmin_group=adm \ 145 145 -Delogind=true \ 146 -Dsystemdsystemunitdir=no && 147 ninja</userinput></screen> 146 -Dsystemdsystemunitdir=no</userinput></screen> 148 147 149 148 <screen revision="systemd"><userinput>mkdir build && … … 153 152 --prefix=/usr \ 154 153 --buildtype=release \ 155 -Dadmin_group=adm && 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 && 165 sed -i '1i#include <stdio.h>' \ 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> 157 173 158 174 <para> -
postlfs/security/polkit.xml
r7f5ae162 r27040e68 187 187 -Dman=true \ 188 188 -Dsession_tracking=libsystemd-login \ 189 -Dtests=true && 190 ninja</userinput></screen> 189 -Dtests=true</userinput></screen> 191 190 192 191 <screen revision="sysv"><userinput>mkdir build && … … 198 197 -Dman=true \ 199 198 -Dsession_tracking=libelogind \ 200 -Dtests=true && 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 && 211 sed -i '1i#include <stdio.h>' \ 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> 202 219 203 220 <para>
Note:
See TracChangeset
for help on using the changeset viewer.