From cb8ecca731497b268cae9749dffc8f5fc3833cc5 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Fri, 15 Jan 2016 15:47:55 +0100 Subject: [PATCH] Added patch for api-ms-win-core-quirks-l1-1-0 dll. --- ...pi-ms-win-core-quirks-l1-1-0-Add-dll.patch | 65 +++++++++++++++++++ patches/api-ms-win-crt-Stub_DLLs/definition | 1 + patches/patchinstall.sh | 5 +- 3 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 patches/api-ms-win-crt-Stub_DLLs/0004-api-ms-win-core-quirks-l1-1-0-Add-dll.patch diff --git a/patches/api-ms-win-crt-Stub_DLLs/0004-api-ms-win-core-quirks-l1-1-0-Add-dll.patch b/patches/api-ms-win-crt-Stub_DLLs/0004-api-ms-win-core-quirks-l1-1-0-Add-dll.patch new file mode 100644 index 00000000..45f24ba5 --- /dev/null +++ b/patches/api-ms-win-crt-Stub_DLLs/0004-api-ms-win-core-quirks-l1-1-0-Add-dll.patch @@ -0,0 +1,65 @@ +From 2f51e46724cd93eedfa9024dc3f88bfdd2eb3172 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michael=20M=C3=BCller?= +Date: Fri, 15 Jan 2016 13:07:09 +0100 +Subject: api-ms-win-core-quirks-l1-1-0: Add dll. + +--- + configure.ac | 1 + + dlls/api-ms-win-core-quirks-l1-1-0/Makefile.in | 1 + + .../api-ms-win-core-quirks-l1-1-0.spec | 8 ++++++++ + tools/make_specfiles | 4 ++++ + 4 files changed, 14 insertions(+) + create mode 100644 dlls/api-ms-win-core-quirks-l1-1-0/Makefile.in + create mode 100644 dlls/api-ms-win-core-quirks-l1-1-0/api-ms-win-core-quirks-l1-1-0.spec + +diff --git a/configure.ac b/configure.ac +index 7374b74..1cf8036 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2729,6 +2729,7 @@ WINE_CONFIG_DLL(api-ms-win-core-processthreads-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-processthreads-l1-1-2) + WINE_CONFIG_DLL(api-ms-win-core-profile-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-psapi-l1-1-0) ++WINE_CONFIG_DLL(api-ms-win-core-quirks-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-registry-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-rtlsupport-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-rtlsupport-l1-2-0) +diff --git a/dlls/api-ms-win-core-quirks-l1-1-0/Makefile.in b/dlls/api-ms-win-core-quirks-l1-1-0/Makefile.in +new file mode 100644 +index 0000000..9486e8b +--- /dev/null ++++ b/dlls/api-ms-win-core-quirks-l1-1-0/Makefile.in +@@ -0,0 +1 @@ ++MODULE = api-ms-win-core-quirks-l1-1-0.dll +diff --git a/dlls/api-ms-win-core-quirks-l1-1-0/api-ms-win-core-quirks-l1-1-0.spec b/dlls/api-ms-win-core-quirks-l1-1-0/api-ms-win-core-quirks-l1-1-0.spec +new file mode 100644 +index 0000000..54ce373 +--- /dev/null ++++ b/dlls/api-ms-win-core-quirks-l1-1-0/api-ms-win-core-quirks-l1-1-0.spec +@@ -0,0 +1,8 @@ ++@ stub QuirkGetData ++@ stub QuirkGetData2 ++@ stdcall QuirkIsEnabled(ptr) kernelbase.QuirkIsEnabled ++@ stub QuirkIsEnabled2 ++@ stub QuirkIsEnabled3 ++@ stub QuirkIsEnabledForPackage ++@ stub QuirkIsEnabledForPackage2 ++@ stub QuirkIsEnabledForProcess +diff --git a/tools/make_specfiles b/tools/make_specfiles +index 572c0b8..e62c2cd 100755 +--- a/tools/make_specfiles ++++ b/tools/make_specfiles +@@ -225,6 +225,10 @@ my @dll_groups = + "kernelbase", + ], + [ ++ "kernelbase", ++ "api-ms-win-core-quirks-l1-1-0", ++ ], ++ [ + "ole32", + "api-ms-win-downlevel-ole32-l1-1-0", + "api-ms-win-core-com-l1-1-0", +-- +2.6.4 + diff --git a/patches/api-ms-win-crt-Stub_DLLs/definition b/patches/api-ms-win-crt-Stub_DLLs/definition index 691bd937..5c0058aa 100644 --- a/patches/api-ms-win-crt-Stub_DLLs/definition +++ b/patches/api-ms-win-crt-Stub_DLLs/definition @@ -1,5 +1,6 @@ Fixes: Add stub dlls required for MSVC 2015 runtime library (Windows 10) Fixes: Add api-ms-win-core-com-l1-1-1 dll +Fixes: Add api-ms-win-core-quirks-l1-1-0 dll Fixes: Add kernelbase dll Depends: ole32-CoGetApartmentType Depends: kernel32-GetFinalPathNameByHandle diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index 72938797..cca7bdd2 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -2464,17 +2464,20 @@ fi # | # | Modified files: # | * configure.ac, dlls/api-ms-win-core-com-l1-1-1/Makefile.in, dlls/api-ms-win-core-com-l1-1-1/api-ms-win-core- -# | com-l1-1-1.spec, dlls/api-ms-win-crt-heap-l1-1-0/api-ms-win-crt-heap-l1-1-0.spec, dlls/kernelbase/Makefile.in, +# | com-l1-1-1.spec, dlls/api-ms-win-core-quirks-l1-1-0/Makefile.in, dlls/api-ms-win-core-quirks-l1-1-0/api-ms-win-core- +# | quirks-l1-1-0.spec, dlls/api-ms-win-crt-heap-l1-1-0/api-ms-win-crt-heap-l1-1-0.spec, dlls/kernelbase/Makefile.in, # | dlls/kernelbase/kernelbase.spec, dlls/kernelbase/misc.c, dlls/ucrtbase/ucrtbase.spec, tools/make_specfiles # | if test "$enable_api_ms_win_crt_Stub_DLLs" -eq 1; then patch_apply api-ms-win-crt-Stub_DLLs/0001-ucrtbase-Hook-up-some-functions-with-new-names-to-ex.patch patch_apply api-ms-win-crt-Stub_DLLs/0002-api-ms-win-core-com-l1-1-1-Add-dll.patch patch_apply api-ms-win-crt-Stub_DLLs/0003-kernelbase-Add-dll-and-add-stub-for-QuirkIsEnabled.patch + patch_apply api-ms-win-crt-Stub_DLLs/0004-api-ms-win-core-quirks-l1-1-0-Add-dll.patch ( echo '+ { "Martin Storsjo", "ucrtbase: Hook up some functions with new names to existing implementations.", 1 },'; echo '+ { "Michael Müller", "api-ms-win-core-com-l1-1-1: Add dll.", 1 },'; echo '+ { "Michael Müller", "kernelbase: Add dll and add stub for QuirkIsEnabled.", 1 },'; + echo '+ { "Michael Müller", "api-ms-win-core-quirks-l1-1-0: Add dll.", 1 },'; ) >> "$patchlist" fi