diff --git a/patches/api-ms-win-crt-Stub_DLLs/0008-api-ms-win-core-libraryloader-l1-2-0-Add-dll.patch b/patches/api-ms-win-crt-Stub_DLLs/0008-api-ms-win-core-libraryloader-l1-2-0-Add-dll.patch new file mode 100644 index 00000000..1cd41e4a --- /dev/null +++ b/patches/api-ms-win-crt-Stub_DLLs/0008-api-ms-win-core-libraryloader-l1-2-0-Add-dll.patch @@ -0,0 +1,83 @@ +From 5ec2d0aa8425dcc9a80a0693946973ca36207e76 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michael=20M=C3=BCller?= +Date: Fri, 15 Jan 2016 13:48:54 +0100 +Subject: api-ms-win-core-libraryloader-l1-2-0: Add dll. + +--- + configure.ac | 1 + + .../Makefile.in | 1 + + .../api-ms-win-core-libraryloader-l1-2-0.spec | 29 ++++++++++++++++++++++ + tools/make_specfiles | 1 + + 4 files changed, 32 insertions(+) + create mode 100644 dlls/api-ms-win-core-libraryloader-l1-2-0/Makefile.in + create mode 100644 dlls/api-ms-win-core-libraryloader-l1-2-0/api-ms-win-core-libraryloader-l1-2-0.spec + +diff --git a/configure.ac b/configure.ac +index aca3374..be563ca 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2652,6 +2652,7 @@ 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-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) + WINE_CONFIG_DLL(api-ms-win-core-localization-l1-2-0) + WINE_CONFIG_DLL(api-ms-win-core-localization-l1-2-1) + WINE_CONFIG_DLL(api-ms-win-core-localization-obsolete-l1-1-0) +diff --git a/dlls/api-ms-win-core-libraryloader-l1-2-0/Makefile.in b/dlls/api-ms-win-core-libraryloader-l1-2-0/Makefile.in +new file mode 100644 +index 0000000..5552133 +--- /dev/null ++++ b/dlls/api-ms-win-core-libraryloader-l1-2-0/Makefile.in +@@ -0,0 +1 @@ ++MODULE = api-ms-win-core-libraryloader-l1-2-0.dll +diff --git a/dlls/api-ms-win-core-libraryloader-l1-2-0/api-ms-win-core-libraryloader-l1-2-0.spec b/dlls/api-ms-win-core-libraryloader-l1-2-0/api-ms-win-core-libraryloader-l1-2-0.spec +new file mode 100644 +index 0000000..6c385b6 +--- /dev/null ++++ b/dlls/api-ms-win-core-libraryloader-l1-2-0/api-ms-win-core-libraryloader-l1-2-0.spec +@@ -0,0 +1,29 @@ ++@ stub AddDllDirectory ++@ stdcall DisableThreadLibraryCalls(long) kernel32.DisableThreadLibraryCalls ++@ stdcall EnumResourceLanguagesExA(long str str ptr long long long) kernel32.EnumResourceLanguagesExA ++@ stdcall EnumResourceLanguagesExW(long wstr wstr ptr long long long) kernel32.EnumResourceLanguagesExW ++@ stub EnumResourceNamesExA ++@ stub EnumResourceNamesExW ++@ stub EnumResourceTypesExA ++@ stub EnumResourceTypesExW ++@ stdcall FindResourceExW(long wstr wstr long) kernel32.FindResourceExW ++@ stub FindStringOrdinal ++@ stdcall FreeLibrary(long) kernel32.FreeLibrary ++@ stdcall FreeLibraryAndExitThread(long long) kernel32.FreeLibraryAndExitThread ++@ stdcall FreeResource(long) kernel32.FreeResource ++@ stdcall GetModuleFileNameA(long ptr long) kernel32.GetModuleFileNameA ++@ stdcall GetModuleFileNameW(long ptr long) kernel32.GetModuleFileNameW ++@ stdcall GetModuleHandleA(str) kernel32.GetModuleHandleA ++@ stdcall GetModuleHandleExA(long ptr ptr) kernel32.GetModuleHandleExA ++@ stdcall GetModuleHandleExW(long ptr ptr) kernel32.GetModuleHandleExW ++@ stdcall GetModuleHandleW(wstr) kernel32.GetModuleHandleW ++@ stdcall GetProcAddress(long str) kernel32.GetProcAddress ++@ stdcall LoadLibraryExA( str long long) kernel32.LoadLibraryExA ++@ stdcall LoadLibraryExW(wstr long long) kernel32.LoadLibraryExW ++@ stdcall LoadResource(long long) kernel32.LoadResource ++@ stdcall LoadStringA(long long ptr long) user32.LoadStringA ++@ stdcall LoadStringW(long long ptr long) user32.LoadStringW ++@ stdcall LockResource(long) kernel32.LockResource ++@ stub RemoveDllDirectory ++@ stub SetDefaultDllDirectories ++@ stdcall SizeofResource(long long) kernel32.SizeofResource +diff --git a/tools/make_specfiles b/tools/make_specfiles +index 6456efe..09cc4d4 100755 +--- a/tools/make_specfiles ++++ b/tools/make_specfiles +@@ -214,6 +214,7 @@ my @dll_groups = + "user32", + "api-ms-win-core-libraryloader-l1-1-0", + "api-ms-win-core-libraryloader-l1-1-1", ++ "api-ms-win-core-libraryloader-l1-2-0", + ], + [ + "kernel32", +-- +2.6.4 + diff --git a/patches/api-ms-win-crt-Stub_DLLs/definition b/patches/api-ms-win-crt-Stub_DLLs/definition index a7c717cd..ca030dec 100644 --- a/patches/api-ms-win-crt-Stub_DLLs/definition +++ b/patches/api-ms-win-crt-Stub_DLLs/definition @@ -4,6 +4,7 @@ Fixes: Add api-ms-win-core-quirks-l1-1-0 dll 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 kernelbase dll Depends: ole32-CoGetApartmentType Depends: kernel32-GetFinalPathNameByHandle diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index bb3e80d4..36ef19c4 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -2494,10 +2494,11 @@ 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-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-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_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 @@ -2507,6 +2508,7 @@ if test "$enable_api_ms_win_crt_Stub_DLLs" -eq 1; then patch_apply api-ms-win-crt-Stub_DLLs/0005-api-ms-win-core-delayload-l1-1-1-Add-dll.patch patch_apply api-ms-win-crt-Stub_DLLs/0006-api-ms-win-appmodel-runtime-l1-1-1-Add-new-dll.patch patch_apply api-ms-win-crt-Stub_DLLs/0007-api-ms-win-core-apiquery-l1-1-0-Add-dll.patch + patch_apply api-ms-win-crt-Stub_DLLs/0008-api-ms-win-core-libraryloader-l1-2-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 },'; @@ -2515,6 +2517,7 @@ if test "$enable_api_ms_win_crt_Stub_DLLs" -eq 1; then echo '+ { "Michael Müller", "api-ms-win-core-delayload-l1-1-1: Add dll.", 1 },'; 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 },'; ) >> "$patchlist" fi