Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wine fix #2854

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Wine fix #2854

wants to merge 2 commits into from

Conversation

fiesh
Copy link

@fiesh fiesh commented May 22, 2022

Please see the two commits' commit messages for the changes.

The workaround to make sure `wine` fails in packages' build processes
was to set `WINEPREFIX` to a read-only directory.  However, this fails
if this read-only directory is in fact not read-only, as can happe when
compiling MXE as `root` in a docker environment.

Setting `WINEPREFIX` to `/dev/null` fixes this without the workaround.

This closes mxe#2819.
The code casts `ChangeDisplaySettingsEx`'s return type (`LONG`) to
`unsigned int` but then compares it to other `LONG`s in a `switch`
statement.  This becomes an error with GCC 12.  We fix it locally.
@fiesh
Copy link
Author

fiesh commented Feb 3, 2023

ping @tonytheodore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants