From ea0b09ce9363cff566dfd213d74604c5b7ab2045 Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Sun, 14 Mar 2021 17:35:04 +0100 Subject: [PATCH] Partial revert of be3eead636013b0a000167c55cfce240d0484f89 . We still need to offer the header file for -complete- wine builds :frog: --- PKGBUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/PKGBUILD b/PKGBUILD index cad0775..746b1d5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -545,6 +545,12 @@ hackbase() { # install customization file, for reference install -Dm644 "${srcdir}"/customization-full.cfg "${pkgdir}/usr/share/doc/${pkgbase}/customization.cfg" + # workaround for missing header with winesync + if [ -e "${srcdir}/winesync.rules" ]; then + msg2 "Workaround missing winesync header" + install -Dm644 "${srcdir}/${_srcpath}"/include/uapi/linux/winesync.h "${pkgdir}/usr/include/linux/winesync.h" + fi + # load winesync module at boot if [ -e "${srcdir}/winesync.conf" ]; then msg2 "Set the winesync module to be loaded at boot through /etc/modules-load.d"