pulseaudio: fix build with gcc14

This commit is contained in:
oreo639 2025-03-07 05:14:38 -08:00
parent 08ca9a314f
commit b87ec8f3ca

View file

@ -45,6 +45,14 @@ case "$XBPS_TARGET_MACHINE" in
arm*) configure_args+=" -Db_lto=false"
esac
post_patch() {
if [ "$XBPS_TARGET_LIBC" = musl ]; then
# Configure detects presence of open64 due to musl providing aliases for them in the linker, this is not correct.
# This was fixed in musl 1.2.x, but we are currently using 1.1.x
vsed -e "s/'open64',//g" -i meson.build
fi
}
post_install() {
rm ${DESTDIR}/etc/dbus-1/system.d/pulseaudio-system.conf
vmkdir usr/share/examples/pulseaudio/sv/