Bug 33901 - wine-mono doesn't seem to build for SDL2 support.
Summary: wine-mono doesn't seem to build for SDL2 support.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-09 14:51 CET by Aurelian R
Modified: 2025-01-09 20:28 CET (History)
1 user (show)

See Also:
Source RPM: wine-mono
CVE:
Status comment:


Attachments
spec file patch (4.27 KB, patch)
2025-01-09 14:51 CET, Aurelian R
Details | Diff

Description Aurelian R 2025-01-09 14:51:41 CET
Created attachment 14834 [details]
spec file patch

Looking into wine-mono, I noticed it is not building the support for SDL2. In order to do that and also keep the "-fPIC" compiler option, the option was enabled globally. I haven't noticed any issue while running "wine" after these adjustments in wine-mono.

Attached is a "spec" file patch that
- adds "-fPIC" compiler options for "mono"; this fixed the SDL2 back-end.
- adds "%undefine autoset_build_flags"; this mitigates the new rpm-mageia-setup 2.82 flags setup.
- cleaning up.

Hope it helps.
Comment 1 Morgan Leijström 2025-01-09 15:39:12 CET
Thank you.
Referenced this in bug 33903 about generally updating wine.

CC: (none) => fri
Assignee: bugsquad => pkg-bugs

Comment 2 Aurelian R 2025-01-09 20:28:15 CET
Well, that was fast again. Thanks, 
Closing as fixed.

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.