From 9666dbdff7b83edc5ce6d63a9a109bc9e1f56be9 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sun, 17 Jan 2016 00:04:55 +0100 Subject: [PATCH] Added patch for api-ms-win-core-kernel32-legacy-l1-1-1 dll. --- ...-core-kernel32-legacy-l1-1-1-Add-dll.patch | 69 +++++++++++++++++++ patches/api-ms-win-Stub_DLLs/definition | 1 + patches/patchinstall.sh | 13 ++-- 3 files changed, 78 insertions(+), 5 deletions(-) create mode 100644 patches/api-ms-win-Stub_DLLs/0009-api-ms-win-core-kernel32-legacy-l1-1-1-Add-dll.patch diff --git a/patches/api-ms-win-Stub_DLLs/0009-api-ms-win-core-kernel32-legacy-l1-1-1-Add-dll.patch b/patches/api-ms-win-Stub_DLLs/0009-api-ms-win-core-kernel32-legacy-l1-1-1-Add-dll.patch new file mode 100644 index 00000000..f4230647 --- /dev/null +++ b/patches/api-ms-win-Stub_DLLs/0009-api-ms-win-core-kernel32-legacy-l1-1-1-Add-dll.patch @@ -0,0 +1,69 @@ +From 786eb78cf9eff284eae02b88bdefebad21b1fab5 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michael=20M=C3=BCller?= +Date: Sat, 16 Jan 2016 20:01:49 +0100 +Subject: api-ms-win-core-kernel32-legacy-l1-1-1: Add dll. + +--- + configure.ac | 1 + + dlls/api-ms-win-core-kernel32-legacy-l1-1-1/Makefile.in | 1 + + .../api-ms-win-core-kernel32-legacy-l1-1-1.spec | 15 +++++++++++++++ + tools/make_specfiles | 1 + + 4 files changed, 18 insertions(+) + create mode 100644 dlls/api-ms-win-core-kernel32-legacy-l1-1-1/Makefile.in + create mode 100644 dlls/api-ms-win-core-kernel32-legacy-l1-1-1/api-ms-win-core-kernel32-legacy-l1-1-1.spec + +diff --git a/configure.ac b/configure.ac +index be563ca..36d95c9 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2650,6 +2650,7 @@ WINE_CONFIG_DLL(api-ms-win-core-interlocked-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-interlocked-l1-2-0) + WINE_CONFIG_DLL(api-ms-win-core-io-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-kernel32-legacy-l1-1-0) ++WINE_CONFIG_DLL(api-ms-win-core-kernel32-legacy-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-libraryloader-l1-1-0) + WINE_CONFIG_DLL(api-ms-win-core-libraryloader-l1-1-1) + WINE_CONFIG_DLL(api-ms-win-core-libraryloader-l1-2-0) +diff --git a/dlls/api-ms-win-core-kernel32-legacy-l1-1-1/Makefile.in b/dlls/api-ms-win-core-kernel32-legacy-l1-1-1/Makefile.in +new file mode 100644 +index 0000000..c4a5c44 +--- /dev/null ++++ b/dlls/api-ms-win-core-kernel32-legacy-l1-1-1/Makefile.in +@@ -0,0 +1 @@ ++MODULE = api-ms-win-core-kernel32-legacy-l1-1-1.dll +diff --git a/dlls/api-ms-win-core-kernel32-legacy-l1-1-1/api-ms-win-core-kernel32-legacy-l1-1-1.spec b/dlls/api-ms-win-core-kernel32-legacy-l1-1-1/api-ms-win-core-kernel32-legacy-l1-1-1.spec +new file mode 100644 +index 0000000..579e254 +--- /dev/null ++++ b/dlls/api-ms-win-core-kernel32-legacy-l1-1-1/api-ms-win-core-kernel32-legacy-l1-1-1.spec +@@ -0,0 +1,15 @@ ++@ stdcall FindFirstVolumeMountPointW(wstr ptr long) kernel32.FindFirstVolumeMountPointW ++@ stub FindNextVolumeMountPointW ++@ stdcall FindVolumeMountPointClose(ptr) kernel32.FindVolumeMountPointClose ++@ stub GetFileAttributesTransactedW ++@ stub GetFirmwareType ++@ stub GetNumaAvailableMemoryNodeEx ++@ stdcall GetNumaNodeProcessorMask(long ptr) kernel32.GetNumaNodeProcessorMask ++@ stub GetNumaProcessorNodeEx ++@ stdcall PowerClearRequest(long long) kernel32.PowerClearRequest ++@ stdcall PowerCreateRequest(ptr) kernel32.PowerCreateRequest ++@ stdcall PowerSetRequest(long long) kernel32.PowerSetRequest ++@ stdcall SetDllDirectoryW(wstr) kernel32.SetDllDirectoryW ++@ stdcall SetThreadIdealProcessor(long long) kernel32.SetThreadIdealProcessor ++@ stdcall SetVolumeMountPointW(wstr wstr) kernel32.SetVolumeMountPointW ++@ stdcall VerifyVersionInfoW(long long int64) kernel32.VerifyVersionInfoW +diff --git a/tools/make_specfiles b/tools/make_specfiles +index 09cc4d4..03e753f 100755 +--- a/tools/make_specfiles ++++ b/tools/make_specfiles +@@ -188,6 +188,7 @@ my @dll_groups = + "api-ms-win-core-heap-obsolete-l1-1-0", + "api-ms-win-core-io-l1-1-1", + "api-ms-win-core-kernel32-legacy-l1-1-0", ++ "api-ms-win-core-kernel32-legacy-l1-1-1", + "api-ms-win-core-localization-l1-2-0", + "api-ms-win-core-localization-obsolete-l1-1-0", + "api-ms-win-core-memory-l1-1-0", +-- +2.6.4 + diff --git a/patches/api-ms-win-Stub_DLLs/definition b/patches/api-ms-win-Stub_DLLs/definition index ca030dec..a801c05a 100644 --- a/patches/api-ms-win-Stub_DLLs/definition +++ b/patches/api-ms-win-Stub_DLLs/definition @@ -5,6 +5,7 @@ Fixes: Add api-ms-win-core-delayload-l1-1-1 dll Fixes: Add api-ms-win-appmodel-runtime-l1-1-1 dll Fixes: Add api-ms-win-core-apiquery-l1-1-0 dll Fixes: Add api-ms-win-core-libraryloader-l1-2-0 dll +Fixes: Add api-ms-win-core-kernel32-legacy-l1-1-1 dll Fixes: Add kernelbase dll Depends: ole32-CoGetApartmentType Depends: kernel32-GetFinalPathNameByHandle diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index ccbd8250..b118b473 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -2498,11 +2498,12 @@ fi # | appmodel-runtime-l1-1-1.spec, dlls/api-ms-win-core-apiquery-l1-1-0/Makefile.in, dlls/api-ms-win-core-apiquery-l1-1-0 # | /api-ms-win-core-apiquery-l1-1-0.spec, 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-core-delayload-l1-1-1/Makefile.in, dlls/api-ms-win-core-delayload-l1-1-1 -# | /api-ms-win-core-delayload-l1-1-1.spec, dlls/api-ms-win-core-libraryloader-l1-2-0/Makefile.in, dlls/api-ms-win-core- -# | libraryloader-l1-2-0/api-ms-win-core-libraryloader-l1-2-0.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 +# | /api-ms-win-core-delayload-l1-1-1.spec, dlls/api-ms-win-core-kernel32-legacy-l1-1-1/Makefile.in, dlls/api-ms-win-core- +# | kernel32-legacy-l1-1-1/api-ms-win-core-kernel32-legacy-l1-1-1.spec, dlls/api-ms-win-core- +# | libraryloader-l1-2-0/Makefile.in, dlls/api-ms-win-core-libraryloader-l1-2-0/api-ms-win-core-libraryloader-l1-2-0.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_Stub_DLLs" -eq 1; then patch_apply api-ms-win-Stub_DLLs/0001-ucrtbase-Hook-up-some-functions-with-new-names-to-ex.patch @@ -2513,6 +2514,7 @@ if test "$enable_api_ms_win_Stub_DLLs" -eq 1; then patch_apply api-ms-win-Stub_DLLs/0006-api-ms-win-appmodel-runtime-l1-1-1-Add-new-dll.patch patch_apply api-ms-win-Stub_DLLs/0007-api-ms-win-core-apiquery-l1-1-0-Add-dll.patch patch_apply api-ms-win-Stub_DLLs/0008-api-ms-win-core-libraryloader-l1-2-0-Add-dll.patch + patch_apply api-ms-win-Stub_DLLs/0009-api-ms-win-core-kernel32-legacy-l1-1-1-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 },'; @@ -2522,6 +2524,7 @@ if test "$enable_api_ms_win_Stub_DLLs" -eq 1; then echo '+ { "Michael Müller", "api-ms-win-appmodel-runtime-l1-1-1: Add new dll.", 1 },'; echo '+ { "Michael Müller", "api-ms-win-core-apiquery-l1-1-0: Add dll.", 1 },'; echo '+ { "Michael Müller", "api-ms-win-core-libraryloader-l1-2-0: Add dll.", 1 },'; + echo '+ { "Michael Müller", "api-ms-win-core-kernel32-legacy-l1-1-1: Add dll.", 1 },'; ) >> "$patchlist" fi