build: Remove sysroot pipewire workaround

This commit is contained in:
klzgrad 2019-12-14 17:51:04 +08:00
parent 0e46847022
commit 6d1ff2da90

View File

@ -385,13 +385,6 @@ HacksAndPatchesCommon() {
mkdir -p ${INSTALL_ROOT}/usr/lib/pkgconfig
mv ${INSTALL_ROOT}/usr/lib/${arch}-${os}/pkgconfig/* \
${INSTALL_ROOT}/usr/lib/pkgconfig
# Temporary workaround for invalid implicit conversion from void* in pipewire.
# This is already fixed upstream in [1], so this can be removed once it rolls
# into Debian.
# [1] https://github.com/PipeWire/pipewire/commit/371da358d1580dc06218d18a12a99611cac39e4e
local pipewire_utils_h="${INSTALL_ROOT}/usr/include/pipewire/utils.h"
sed -i 's/malloc/(struct spa_pod*)malloc/' "${pipewire_utils_h}"
}