aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/ncurses.xml3
-rw-r--r--chapter08/systemd.xml4
2 files changed, 6 insertions, 1 deletions
diff --git a/chapter08/ncurses.xml b/chapter08/ncurses.xml
index ed0461f16..7b0da21fe 100644
--- a/chapter08/ncurses.xml
+++ b/chapter08/ncurses.xml
@@ -49,7 +49,8 @@
--without-debug \
--without-normal \
--enable-pc-files \
- --enable-widec</userinput></screen>
+ --enable-widec \
+ --with-pkg-config-libdir=/usr/lib/pkgconfig</userinput></screen>
<variablelist>
<title>The meaning of the new configure options:</title>
diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml
index 70e747650..a8c74d177 100644
--- a/chapter08/systemd.xml
+++ b/chapter08/systemd.xml
@@ -63,6 +63,10 @@
<screen><userinput remap="pre">sed -i 's/+ want_libfuzzer.*$/and want_libfuzzer/' meson.build</userinput></screen>
+ <para>Fix a problem when using a kernel version 5.14 and later:</para>
+
+ <screen><userinput remap="pre">sed -i '/ARPHRD_CAN/a#define ARPHRD_MCTP 290' src/basic/linux/if_arp.h</userinput></screen>
+
<para>Prepare systemd for compilation:</para>
<screen><userinput remap="configure">mkdir -p build