Changeset e067e09


Ignore:
Timestamp:
06/05/2024 05:02:00 AM (4 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk
Children:
51772cc
Parents:
2445e19d
git-author:
Xi Ruoyao <xry111@…> (06/05/2024 04:53:34 AM)
git-committer:
Xi Ruoyao <xry111@…> (06/05/2024 05:02:00 AM)
Message:

libcddb: Use a better fix for gcc 14

The current fix is deliberately bypassing the compiler check and
invoking an undefined behavior. Let's not do it.

Note that socklen_t is 32-bit and size_t is 64-bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multimedia/libdriv/libcddb.xml

    r2445e19d re067e09  
    9393    </para>
    9494
    95 <screen><userinput>sed -i '/getsockopt/s/&amp;l/(void*)&amp;/' lib/cddb_net.c</userinput></screen>
     95<screen><userinput>sed -i 's/size_t l;/socklen_t l;/' lib/cddb_net.c</userinput></screen>
    9696
    9797    <para>
Note: See TracChangeset for help on using the changeset viewer.