From 763bb554cd7b6133bed8b439a32eaf73eee0b45d Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Tue, 26 May 2015 23:06:47 +0200 Subject: [PATCH] Staging: Print wine version in winediag message. --- ...2-Add-winediag-message-to-show-warning-that-t.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/patches/Staging/0001-kernel32-Add-winediag-message-to-show-warning-that-t.patch b/patches/Staging/0001-kernel32-Add-winediag-message-to-show-warning-that-t.patch index 9358b289..6cbe14ee 100644 --- a/patches/Staging/0001-kernel32-Add-winediag-message-to-show-warning-that-t.patch +++ b/patches/Staging/0001-kernel32-Add-winediag-message-to-show-warning-that-t.patch @@ -1,4 +1,4 @@ -From 948a8706d6045fb6f8f624072bfa6ab97e91dc16 Mon Sep 17 00:00:00 2001 +From 598daa857778080524e3de4a5668a834ab084564 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Thu, 2 Oct 2014 19:44:31 +0200 Subject: kernel32: Add winediag message to show warning, that this isn't @@ -9,7 +9,7 @@ Subject: kernel32: Add winediag message to show warning, that this isn't 1 file changed, 10 insertions(+) diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c -index 0a087ab..1052a79 100644 +index 2c8074b..70b2579 100644 --- a/dlls/kernel32/process.c +++ b/dlls/kernel32/process.c @@ -65,6 +65,7 @@ @@ -27,15 +27,15 @@ index 0a087ab..1052a79 100644 + /* Wine developers don't like it, when bug are reported with Wine versions containing our patches. */ + if (CreateEventA(0, 0, 0, "__winestaging_warn_event") && GetLastError() != ERROR_ALREADY_EXISTS) + { -+ FIXME_(winediag)("Wine Staging is a testing version containing experimental patches.\n"); ++ FIXME_(winediag)("Wine Staging %s is a testing version containing experimental patches.\n", wine_get_version()); + FIXME_(winediag)("Please report bugs at http://bugs.wine-staging.com (instead of winehq.org).\n"); + } + else -+ WARN_(winediag)("Wine Staging is a testing version containing experimental patches.\n"); ++ WARN_(winediag)("Wine Staging %s is a testing version containing experimental patches.\n", wine_get_version()); + SetLastError( 0 ); /* clear error code */ if (peb->BeingDebugged) DbgBreakPoint(); return call_process_entry( peb, entry ); -- -2.1.3 +2.4.1