wine-staging/patches/dxdiag-new-dlls/0006-dpvacm-add-stub-dll.patch

93 lines
3.0 KiB
Diff

From f9a068def176011ec42e84d370e1708e70de2e2a Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish@gmail.com>
Date: Tue, 13 Oct 2020 04:42:02 -0500
Subject: [PATCH] dpvacm: add stub dll
Signed-off-by: Austin English <austinenglish@gmail.com>
---
configure.ac | 3 ++-
dlls/dpvacm/Makefile.in | 6 ++++++
dlls/dpvacm/dpvacm.spec | 4 ++++
dlls/dpvacm/version.rc | 26 ++++++++++++++++++++++++++
4 files changed, 38 insertions(+), 1 deletion(-)
create mode 100644 dlls/dpvacm/Makefile.in
create mode 100644 dlls/dpvacm/dpvacm.spec
create mode 100644 dlls/dpvacm/version.rc
diff --git a/configure.ac b/configure.ac
index 8494354b561..749781df38a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3220,11 +3220,12 @@ WINE_CONFIG_MAKEFILE(dlls/dplayx)
WINE_CONFIG_MAKEFILE(dlls/dplayx/tests)
WINE_CONFIG_MAKEFILE(dlls/dpmodemx)
WINE_CONFIG_MAKEFILE(dlls/dpnaddr)
-WINE_CONFIG_MAKEFILE(dlls/dpnhupnp)
WINE_CONFIG_MAKEFILE(dlls/dpnet)
WINE_CONFIG_MAKEFILE(dlls/dpnet/tests)
WINE_CONFIG_MAKEFILE(dlls/dpnhpast)
+WINE_CONFIG_MAKEFILE(dlls/dpnhupnp)
WINE_CONFIG_MAKEFILE(dlls/dpnlobby)
+WINE_CONFIG_MAKEFILE(dlls/dpvacm)
WINE_CONFIG_MAKEFILE(dlls/dpvoice)
WINE_CONFIG_MAKEFILE(dlls/dpvoice/tests)
WINE_CONFIG_MAKEFILE(dlls/dpwsockx)
diff --git a/dlls/dpvacm/Makefile.in b/dlls/dpvacm/Makefile.in
new file mode 100644
index 00000000000..e9fcafcfc7a
--- /dev/null
+++ b/dlls/dpvacm/Makefile.in
@@ -0,0 +1,6 @@
+MODULE = dpvacm.dll
+
+EXTRADLLFLAGS = -Wb,--prefer-native
+
+
+RC_SRCS = version.rc
diff --git a/dlls/dpvacm/dpvacm.spec b/dlls/dpvacm/dpvacm.spec
new file mode 100644
index 00000000000..fc4ae4a44c0
--- /dev/null
+++ b/dlls/dpvacm/dpvacm.spec
@@ -0,0 +1,4 @@
+@ stub DllRegisterServer
+@ stub DllCanUnloadNow
+@ stub DllGetClassObject
+@ stub DllUnregisterServer
\ No newline at end of file
diff --git a/dlls/dpvacm/version.rc b/dlls/dpvacm/version.rc
new file mode 100644
index 00000000000..7c463bca22e
--- /dev/null
+++ b/dlls/dpvacm/version.rc
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2020 Austin English
+ *
+ * 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
+ */
+
+#define WINE_FILEDESCRIPTION_STR "Wine dpvacm"
+#define WINE_FILENAME_STR "dpvacm.dll"
+#define WINE_FILEVERSION 5,3,2600,5512
+#define WINE_FILEVERSION_STR "5.3.2600.5512"
+#define WINE_PRODUCTVERSION 5,3,2600,5512
+#define WINE_PRODUCTVERSION_STR "5.3.2600.5512"
+
+#include "wine/wine_common_ver.rc"
--
2.20.1