diff --git a/wine.spec b/wine.spec index 82a3d59..8207409 100644 --- a/wine.spec +++ b/wine.spec @@ -688,6 +688,8 @@ This package adds the opencl driver for wine. # setup and apply wine-staging patches gzip -dc %{SOURCE900} | tar -xf - --strip-components=1 +# https://bugs.winehq.org/show_bug.cgi?id=54868 +sed -i 's/DWORD pitch_in, DWORD pitch_out/unsigned int pitch_in, unsigned int pitch_out/' patches/wined3d-WINED3DFMT_B8G8R8X8_UNORM/0001-wined3d-Implement-WINED3DFMT_B8G8R8X8_UNORM-to-WINED.patch staging/patchinstall.py DESTDIR="`pwd`" --all %endif