mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-01-28 22:04:43 -08:00
Added patch with stub program for shutdown.exe.
This commit is contained in:
parent
0836349fc9
commit
f8e36a7305
@ -300,6 +300,7 @@ patch_enable_all ()
|
||||
enable_shlwapi_AssocGetPerceivedType="$1"
|
||||
enable_shlwapi_SHMapHandle="$1"
|
||||
enable_shlwapi_UrlCombine="$1"
|
||||
enable_shutdown_Stub_DLL="$1"
|
||||
enable_stdole32_idl_Typelib="$1"
|
||||
enable_stdole32_tlb_SLTG_Typelib="$1"
|
||||
enable_taskmgr_Memory_Usage="$1"
|
||||
@ -1045,6 +1046,9 @@ patch_enable ()
|
||||
shlwapi-UrlCombine)
|
||||
enable_shlwapi_UrlCombine="$2"
|
||||
;;
|
||||
shutdown-Stub_DLL)
|
||||
enable_shutdown_Stub_DLL="$2"
|
||||
;;
|
||||
stdole32.idl-Typelib)
|
||||
enable_stdole32_idl_Typelib="$2"
|
||||
;;
|
||||
@ -6114,6 +6118,18 @@ if test "$enable_shlwapi_UrlCombine" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset shutdown-Stub_DLL
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * configure.ac, programs/shutdown/Makefile.in, programs/shutdown/main.c
|
||||
# |
|
||||
if test "$enable_shutdown_Stub_DLL" -eq 1; then
|
||||
patch_apply shutdown-Stub_DLL/0001-programs-shutdown-Add-stub-implementation.patch
|
||||
(
|
||||
echo '+ { "Michael Müller", "programs/shutdown: Add stub implementation.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset stdole32.idl-Typelib
|
||||
# |
|
||||
# | Modified files:
|
||||
|
@ -0,0 +1,78 @@
|
||||
From 9d1c1de2572a3a891ff7e2c4ad3c10798f8e138e Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Thu, 11 Feb 2016 20:13:58 +0100
|
||||
Subject: programs/shutdown: Add stub implementation.
|
||||
|
||||
---
|
||||
configure.ac | 1 +
|
||||
programs/shutdown/Makefile.in | 5 +++++
|
||||
programs/shutdown/main.c | 33 +++++++++++++++++++++++++++++++++
|
||||
3 files changed, 39 insertions(+)
|
||||
create mode 100644 programs/shutdown/Makefile.in
|
||||
create mode 100644 programs/shutdown/main.c
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 76fb87d..f6e2a2e 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3487,6 +3487,7 @@ WINE_CONFIG_PROGRAM(secedit,,[install])
|
||||
WINE_CONFIG_PROGRAM(servicemodelreg,,[install])
|
||||
WINE_CONFIG_PROGRAM(services,,[clean,install])
|
||||
WINE_CONFIG_TEST(programs/services/tests)
|
||||
+WINE_CONFIG_PROGRAM(shutdown,,[install])
|
||||
WINE_CONFIG_PROGRAM(spoolsv,,[install])
|
||||
WINE_CONFIG_PROGRAM(start,,[install,po])
|
||||
WINE_CONFIG_PROGRAM(svchost,,[install])
|
||||
diff --git a/programs/shutdown/Makefile.in b/programs/shutdown/Makefile.in
|
||||
new file mode 100644
|
||||
index 0000000..0014021
|
||||
--- /dev/null
|
||||
+++ b/programs/shutdown/Makefile.in
|
||||
@@ -0,0 +1,5 @@
|
||||
+MODULE = shutdown.exe
|
||||
+APPMODE = -mconsole -municode
|
||||
+
|
||||
+C_SRCS = \
|
||||
+ main.c
|
||||
diff --git a/programs/shutdown/main.c b/programs/shutdown/main.c
|
||||
new file mode 100644
|
||||
index 0000000..49f8d24
|
||||
--- /dev/null
|
||||
+++ b/programs/shutdown/main.c
|
||||
@@ -0,0 +1,33 @@
|
||||
+/*
|
||||
+ * Copyright 2016 Michael Müller
|
||||
+ *
|
||||
+ * This library is free software; you can redistribute it and/or
|
||||
+ * modify it under the terms of the GNU Lesser General Public
|
||||
+ * License as published by the Free Software Foundation; either
|
||||
+ * version 2.1 of the License, or (at your option) any later version.
|
||||
+ *
|
||||
+ * This library is distributed in the hope that it will be useful,
|
||||
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+ * Lesser General Public License for more details.
|
||||
+ *
|
||||
+ * You should have received a copy of the GNU Lesser General Public
|
||||
+ * License along with this library; if not, write to the Free Software
|
||||
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
+ */
|
||||
+
|
||||
+#include "wine/debug.h"
|
||||
+
|
||||
+WINE_DEFAULT_DEBUG_CHANNEL(shutdown);
|
||||
+
|
||||
+int wmain(int argc, WCHAR *argv[])
|
||||
+{
|
||||
+ int i;
|
||||
+
|
||||
+ WINE_FIXME("stub:");
|
||||
+ for (i = 0; i < argc; i++)
|
||||
+ WINE_FIXME(" %s", wine_dbgstr_w(argv[i]));
|
||||
+ WINE_FIXME("\n");
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
--
|
||||
2.7.1
|
||||
|
1
patches/shutdown-Stub_DLL/definition
Normal file
1
patches/shutdown-Stub_DLL/definition
Normal file
@ -0,0 +1 @@
|
||||
Fixes: Add stub program for shutdown.exe
|
Loading…
x
Reference in New Issue
Block a user