[PATCH v2] darwin: Fix non-Metal build

Chip Davis cdavis at codeweavers.com
Wed Dec 15 20:55:51 CST 2021


December 15, 2021 7:17 PM, "Keno Fischer" <keno at juliacomputing.com> wrote:

> Hi Dean,
> 
> sorry, I missed your follow up messages to this.
> 
>> Even with this patch wine-7.0-rc1 without Metal fails to compile
> 
> Hmm, that's odd. The error you're seeing is precisely the one I was
> attempting to address with this patch. As you can see in [1], we did
> successfully build wine for Darwin with this patch.
> 
>> As this framework was never linked prior outside of a Metal build this
>> patch is invalid
> 
> Ok, I don't know the history here. Getting rid of QuartzCore in the
> non-Metal build would of course address the issue as well.
> I'll drop this patch then and wait for a proper fix.

I'm afraid this is all my fault. In a5cf847aa45c38bae1500ef19a9bac38bbd8d5ba, I turned on layer-backed views in winemac.drv. In 01f027b2db3196a8fe43be3d6718227794362985, I moved to using a mask layer for window regions. These introduced a dependency on QuartzCore that was not present before. I am sorry--this was an oversight on my part. We really do want to link to QuartzCore unconditionally.


Chip



More information about the wine-devel mailing list