mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-26 08:42:12 +08:00
gdb: fix FTBFS with readline-8.2
This commit is contained in:
parent
4c82fcd48b
commit
661e7eb274
@ -114,13 +114,17 @@
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of GDB</title>
|
||||
<!--
|
||||
|
||||
<!-- https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=1add37b
|
||||
Will be included in 13.1, but not 12.2 (if there will be 12.2). -->
|
||||
<para>
|
||||
First, apply some changes from upstream to fix issues with glibc-2.35:
|
||||
First, apply a change from upstream to fix issues with readline-8.2
|
||||
or later:
|
||||
</para>
|
||||
|
||||
<screen><userinput remap="pre">patch -Np1 -i ../gdb-&gdb-version;-upstream_fixes-1.patch</userinput></screen>
|
||||
-->
|
||||
<screen><userinput remap="pre">sed '/return/s/rl.*characters/(char *) &/' -i gdb/completer.c</userinput></screen>
|
||||
|
||||
|
||||
<para>
|
||||
Install <application>GDB</application> by running the following
|
||||
commands:
|
||||
|
Loading…
Reference in New Issue
Block a user