summaryrefslogtreecommitdiffstats
path: root/taskcluster/scripts/misc/mingw-composition.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /taskcluster/scripts/misc/mingw-composition.patch
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'taskcluster/scripts/misc/mingw-composition.patch')
-rw-r--r--taskcluster/scripts/misc/mingw-composition.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/taskcluster/scripts/misc/mingw-composition.patch b/taskcluster/scripts/misc/mingw-composition.patch
new file mode 100644
index 0000000000..40edf921d8
--- /dev/null
+++ b/taskcluster/scripts/misc/mingw-composition.patch
@@ -0,0 +1,50 @@
+diff --git a/mingw-w64-headers/include/windows.ui.composition.h b/mingw-w64-headers/include/windows.ui.composition.h
+index 9dac0f1..58872d5 100644
+--- a/mingw-w64-headers/include/windows.ui.composition.h
++++ b/mingw-w64-headers/include/windows.ui.composition.h
+@@ -4916,13 +4916,13 @@ namespace ABI {
+ ICompositionDrawingSurface : public IInspectable
+ {
+ virtual HRESULT STDMETHODCALLTYPE get_AlphaMode(
+- enum DirectXAlphaMode *value) = 0;
++ ABI::Windows::Graphics::DirectX::DirectXAlphaMode *value) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE get_PixelFormat(
+- enum DirectXPixelFormat *value) = 0;
++ ABI::Windows::Graphics::DirectX::DirectXPixelFormat *value) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE get_Size(
+- struct Size *value) = 0;
++ ABI::Windows::Foundation::Size *value) = 0;
+
+ };
+ }
+@@ -5704,8 +5704,8 @@ namespace ABI {
+ {
+ virtual HRESULT STDMETHODCALLTYPE CreateDrawingSurface(
+ struct Size pixels,
+- enum DirectXPixelFormat format,
+- enum DirectXAlphaMode mode,
++ ABI::Windows::Graphics::DirectX::DirectXPixelFormat format,
++ ABI::Windows::Graphics::DirectX::DirectXAlphaMode mode,
+ ABI::Windows::UI::Composition::ICompositionDrawingSurface **result) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE add_RenderingDeviceReplaced(
+@@ -9338,7 +9338,7 @@ namespace ABI {
+ boolean value) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE get_Offset(
+- struct Vector3 *value) = 0;
++ ABI::Windows::Foundation::Numerics::Vector3 *value) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE put_Offset(
+ struct Vector3 value) = 0;
+@@ -9383,7 +9383,7 @@ namespace ABI {
+ struct Vector3 value) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE get_Size(
+- struct Vector2 *value) = 0;
++ ABI::Windows::Foundation::Numerics::Vector2 *value) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE put_Size(
+ struct Vector2 value) = 0;