build/windows: Update MSVC patches for gegl

This commit is contained in:
Bruno Lopes 2025-12-07 20:33:33 -03:00
parent c0e5107eee
commit 5a4ed76c37
No known key found for this signature in database
3 changed files with 35 additions and 87842 deletions

View file

@ -163,7 +163,7 @@ function self_build ([string]$repo, [array]$branch, [array]$patches, [array]$opt
self_build babl
if ($env:VCPKG_ROOT)
{
self_build gegl @('build\windows\patches\0001-libs-operations-meson-Do-not-build-CTX-which-is-Unix.patch')
self_build gegl @('build\windows\patches\0001-libs-operations-meson-Do-not-build-CTX-which-is-Unix.patch', 'build\windows\patches\0001-gegl-Use-vs_module_defs-for-MSVC.patch')
exit 0
}
self_build gegl

View file

@ -0,0 +1,24 @@
From 74e3e32be8c33ab1c39fd00287f405bf07a60f00 Mon Sep 17 00:00:00 2001
From: Bruno Lopes <brunvonlope@outlook.com>
Date: Sun, 7 Dec 2025 19:35:28 -0300
Subject: [PATCH] gegl: Use vs_module_defs for MSVC
---
gegl/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/gegl/meson.build b/gegl/meson.build
index 0548b06..58bd422 100644
--- a/gegl/meson.build
+++ b/gegl/meson.build
@@ -135,6 +135,7 @@ gegl_lib = library(api_name,
link_with: simd_extra,
link_args: gegl_ldflags,
+ vs_module_defs: gegl_def,
install: true,
version: so_version,
)
--
2.49.0.windows.1