From 5583aa9cc75944a2d3b0b96fe4ade3e8e99a113b Mon Sep 17 00:00:00 2001 From: "Erich E. Hoover" Date: Fri, 22 Nov 2013 10:43:44 -0700 Subject: [PATCH] Update the patch list template to include a querying function in NTDLL. --- patch-list-template.diff | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/patch-list-template.diff b/patch-list-template.diff index 89d48855..640089c1 100644 --- a/patch-list-template.diff +++ b/patch-list-template.diff @@ -1,5 +1,36 @@ +diff --git a/dlls/ntdll/misc.c b/dlls/ntdll/misc.c +index 8bd4eb7..4b4c318 100644 +--- a/dlls/ntdll/misc.c ++++ b/dlls/ntdll/misc.c +@@ -60,6 +60,14 @@ const char * CDECL NTDLL_wine_get_version(void) + } + + /********************************************************************* ++ * wine_get_patches (NTDLL.@) ++ */ ++const void * CDECL NTDLL_wine_get_patches(void) ++{ ++ return wine_get_patches(); ++} ++ ++/********************************************************************* + * wine_get_build_id (NTDLL.@) + */ + const char * CDECL NTDLL_wine_get_build_id(void) +diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec +index 70bf94f..42eddcf 100644 +--- a/dlls/ntdll/ntdll.spec ++++ b/dlls/ntdll/ntdll.spec +@@ -1410,6 +1410,7 @@ + + # Version + @ cdecl wine_get_version() NTDLL_wine_get_version ++@ cdecl wine_get_patches() NTDLL_wine_get_patches + @ cdecl wine_get_build_id() NTDLL_wine_get_build_id + @ cdecl wine_get_host_version(ptr ptr) NTDLL_wine_get_host_version + diff --git a/libs/wine/config.c b/libs/wine/config.c -index a273502..751a9e7 100644 +index a273502..5fa0cd5 100644 --- a/libs/wine/config.c +++ b/libs/wine/config.c @@ -478,6 +478,##PATCH_LINES## @@ const char *wine_get_version(void)