From 8631a7489ba853d3fd15d54c5466326f68f8df25 Mon Sep 17 00:00:00 2001 From: Michael Cronenworth Date: Apr 24 2021 18:29:14 +0000 Subject: Fix staging patch for return type. GCC ignores it while Clang errors. --- diff --git a/wine.spec b/wine.spec index a148fb5..786b570 100644 --- a/wine.spec +++ b/wine.spec @@ -715,6 +715,9 @@ This package adds the opencl driver for wine. # setup and apply wine-staging patches gzip -dc %{SOURCE900} | tar -xf - --strip-components=1 +# Fix staging patch +sed -i -e 's!+ return status;!+ return;!' patches/user32-rawinput-hid/0017-hidclass.sys-Assign-rawinput-handles-through-device-.patch + patches/patchinstall.sh DESTDIR="`pwd`" --all # fix parallelized build