pulseaudio: fix build with gcc14
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user