Changeset ea36f0f for postlfs


Ignore:
Timestamp:
05/13/2024 06:35:40 PM (7 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk
Children:
57c6f42
Parents:
a3336db
git-author:
Xi Ruoyao <xry111@…> (05/12/2024 01:40:33 PM)
git-committer:
Xi Ruoyao <xry111@…> (05/13/2024 06:35:40 PM)
Message:

zsh: Adapt for GCC 14

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/shells/zsh.xml

    ra3336db rea36f0f  
    9898<screen><userinput>sed -e 's/set_from_init_file/texinfo_&amp;/' \
    9999    -i Doc/Makefile.in</userinput></screen>
     100
     101    <!-- https://github.com/zsh-users/zsh/commit/4c89849c9817
     102         https://github.com/zsh-users/zsh/commit/ab4d62eb975a -->
     103    <para>
     104      Some programs shipped in the building system for detecting system
     105      features use pre-C99 syntax rejected by GCC-14.1 or later.  Fix them
     106      up or Zsh would be wrongly configured and fail to build:
     107    </para>
     108
     109<screen><userinput>sed -i -e 's/^main/int &amp;/' -e 's/exit(/return(/' aczsh.m4 configure.ac &amp;&amp;
     110sed -i 's/test = /&amp;(char**)/'                    configure.ac          &amp;&amp;
     111autoconf</userinput></screen>
    100112
    101113    <para>
Note: See TracChangeset for help on using the changeset viewer.