summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2018-05-23 11:07:06 (GMT)
committerMark Brand <mabrand@mabrand.nl>2018-05-23 13:18:05 (GMT)
commit97c0fbfd235221e3227a5a0c3ec7bb6651e9333d (patch)
tree17bac22d56341756d7b4207ef21b188b4c868790
parent4bf16e7414817e65fbdc2ec076f0c61bf92addf2 (diff)
downloadmxe-97c0fbfd235221e3227a5a0c3ec7bb6651e9333d.zip
mxe-97c0fbfd235221e3227a5a0c3ec7bb6651e9333d.tar.gz
mxe-97c0fbfd235221e3227a5a0c3ec7bb6651e9333d.tar.bz2
mingw-w64: backport patch for missing symbols in dwmapi
-rw-r--r--src/mingw-w64-1.patch151
1 files changed, 151 insertions, 0 deletions
diff --git a/src/mingw-w64-1.patch b/src/mingw-w64-1.patch
index 8930914..9585acf 100644
--- a/src/mingw-w64-1.patch
+++ b/src/mingw-w64-1.patch
@@ -62,3 +62,154 @@ index 1111111..2222222 100644
#endif /* defined(__x86_64__) || defined(_AMD64_) || defined(__i386__) || defined(_X86_) */
+From e9f10474cfd239bbb656a9d15163a439fc0efa78 Mon Sep 17 00:00:00 2001
+From: Jonathan Yong <10walls@gmail.com>
+Date: Fri, 22 Dec 2017 13:01:03 +0000
+Subject: [PATCH] dwmapi.def: Regenegerate from Windows 10
+
+Remove ordinals from x86 library too.
+
+Signed-off-by: Jonathan Yong <10walls@gmail.com>
+
+Taken from: https://sourceforge.net/p/mingw-w64/mailman/message/36166386/
+---
+ mingw-w64-crt/lib32/dwmapi.def | 44 ++++++++++++++----------------------------
+ mingw-w64-crt/lib64/dwmapi.def | 26 ++++++++++++++++++++++---
+ 2 files changed, 38 insertions(+), 32 deletions(-)
+
+diff --git a/mingw-w64-crt/lib32/dwmapi.def b/mingw-w64-crt/lib32/dwmapi.def
+index 798116fb..96009459 100644
+--- a/mingw-w64-crt/lib32/dwmapi.def
++++ b/mingw-w64-crt/lib32/dwmapi.def
+@@ -5,47 +5,29 @@
+ ;
+ LIBRARY "dwmapi.dll"
+ EXPORTS
+-;ord_100@32 @100
+-;ord_101@24 @101
++DwmpDxGetWindowSharedSurface@32
++DwmpDxUpdateWindowSharedSurface@24
+ DwmEnableComposition@4
+-;ord_103@0 @103
+-;ord_104@12 @104
+-;ord_105@0 @105
+-;ord_106@8 @106
+-;ord_107@4 @107
+-;ord_108@4 @108
+-;ord_109@8 @109
+-;ord_110@0 @110
+ DwmAttachMilContent@4
+-;ord_112@4 @112
+-;ord_113@16 @113
+-;ord_114@8 @114
+-;ord_115@4 @115
+ DwmDefWindowProc@20
+ DwmDetachMilContent@4
+-;ord_118@8 @118
+-;ord_119@8 @119
+-;ord_120@8 @120
+-;ord_121@8 @121
+ DwmEnableBlurBehindWindow@8
+ DwmEnableMMCSS@4
+-;ord_124@20 @124
+-;ord_125@12 @125
+-;ord_126@8 @126
+-;ord_127@4 @127
+-;ord_128@4 @128
+-;ord_129@4 @129
+-;ord_130@0 @130
+-;ord_131@8 @131
+-;ord_132@8 @132
+-;ord_133@36 @133
+-;ord_134@8 @134
+ DwmExtendFrameIntoClientArea@8
+ DwmFlush@0
+ DwmGetColorizationColor@8
++DwmpDxBindSwapChain@12
++DwmpDxUnbindSwapChain@8
++DwmpDxgiIsThreadDesktopComposited@4
+ DwmGetCompositionTimingInfo@8
+ DwmGetGraphicsStreamClient@8
++DwmpDxUpdateWindowRedirectionBltSurface@36
++DwmpRenderFlick@12
++DwmpAllocateSecurityDescriptor@8
++DwmpFreeSecurityDescriptor@4
++DwmpEnableDDASupport@0
+ DwmGetGraphicsStreamTransformHint@8
++DwmTetherTextContact@20
+ DwmGetTransportAttributes@12
+ DwmGetWindowAttribute@16
+ DwmInvalidateIconicBitmaps@4
+@@ -53,10 +35,14 @@ DwmIsCompositionEnabled@4
+ DwmModifyPreviousDxFrameDuration@12
+ DwmQueryThumbnailSourceSize@8
+ DwmRegisterThumbnail@12
++DwmRenderGesture@16
+ DwmSetDxFrameDuration@8
+ DwmSetIconicLivePreviewBitmap@16
+ DwmSetIconicThumbnail@12
+ DwmSetPresentParameters@8
+ DwmSetWindowAttribute@16
++DwmShowContact@8
++DwmTetherContact@16
++DwmTransitionOwnedWindow@8
+ DwmUnregisterThumbnail@4
+ DwmUpdateThumbnailProperties@8
+diff --git a/mingw-w64-crt/lib64/dwmapi.def b/mingw-w64-crt/lib64/dwmapi.def
+index 871947e5..d8bf23f1 100644
+--- a/mingw-w64-crt/lib64/dwmapi.def
++++ b/mingw-w64-crt/lib64/dwmapi.def
+@@ -1,8 +1,13 @@
+ ;
+-; Exports of file dwmapi.dll
++; Definition file of dwmapi.dll
++; Automatic generated by gendef
++; written by Kai Tietz 2008
+ ;
+-LIBRARY dwmapi.dll
++LIBRARY "dwmapi.dll"
+ EXPORTS
++DwmpDxGetWindowSharedSurface
++DwmpDxUpdateWindowSharedSurface
++DwmEnableComposition
+ DwmAttachMilContent
+ DwmDefWindowProc
+ DwmDetachMilContent
+@@ -12,18 +17,33 @@ DwmEnableMMCSS
+ DwmExtendFrameIntoClientArea
+ DwmFlush
+ DwmGetColorizationColor
++DwmpDxBindSwapChain
++DwmpDxUnbindSwapChain
++DwmpDxgiIsThreadDesktopComposited
+ DwmGetCompositionTimingInfo
+ DwmGetGraphicsStreamClient
++DwmpDxUpdateWindowRedirectionBltSurface
++DwmpRenderFlick
++DwmpAllocateSecurityDescriptor
++DwmpFreeSecurityDescriptor
++DwmpEnableDDASupport
+ DwmGetGraphicsStreamTransformHint
++DwmTetherTextContact
+ DwmGetTransportAttributes
+ DwmGetWindowAttribute
++DwmInvalidateIconicBitmaps
+ DwmIsCompositionEnabled
+ DwmModifyPreviousDxFrameDuration
+ DwmQueryThumbnailSourceSize
+ DwmRegisterThumbnail
++DwmRenderGesture
+ DwmSetDxFrameDuration
++DwmSetIconicLivePreviewBitmap
++DwmSetIconicThumbnail
+ DwmSetPresentParameters
+ DwmSetWindowAttribute
++DwmShowContact
++DwmTetherContact
++DwmTransitionOwnedWindow
+ DwmUnregisterThumbnail
+ DwmUpdateThumbnailProperties
+-
+--
+2.13.6
+