Ignore:
Timestamp:
10/05/2022 02:15:44 AM (19 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18, xry111/xf86-video-removal
Children:
872d8ea8, d985f0b
Parents:
4c82fcd
git-author:
Xi Ruoyao <xry111@…> (10/05/2022 02:15:19 AM)
git-committer:
Xi Ruoyao <xry111@…> (10/05/2022 02:15:44 AM)
Message:

gdb: fix FTBFS with readline-8.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/gdb.xml

    r4c82fcd r661e7eb  
    115115  <sect2 role="installation">
    116116    <title>Installation of GDB</title>
    117 <!--
    118     <para>
    119       First, apply some changes from upstream to fix issues with glibc-2.35:
    120     </para>
    121 
    122 <screen><userinput remap="pre">patch -Np1 -i ../gdb-&gdb-version;-upstream_fixes-1.patch</userinput></screen>
    123 -->
     117
     118    <!-- https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=1add37b
     119         Will be included in 13.1, but not 12.2 (if there will be 12.2). -->
     120    <para>
     121      First, apply a change from upstream to fix issues with readline-8.2
     122      or later:
     123    </para>
     124
     125<screen><userinput remap="pre">sed '/return/s/rl.*characters/(char *) &amp;/' -i gdb/completer.c</userinput></screen>
     126
     127
    124128    <para>
    125129      Install <application>GDB</application> by running the following
Note: See TracChangeset for help on using the changeset viewer.