wine-staging/patches/dxdiag-new-dlls/0007-dpvvox-add-stub-dll.patch

87 lines
2.8 KiB
Diff

From 98be083cb6866286bcb73d23f7ed1ac13da857e7 Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish@gmail.com>
Date: Tue, 13 Oct 2020 04:42:02 -0500
Subject: [PATCH] dpvvox: add stub dll
Signed-off-by: Austin English <austinenglish@gmail.com>
---
configure.ac | 1 +
dlls/dpvvox/Makefile.in | 6 ++++++
dlls/dpvvox/dpvvox.spec | 4 ++++
dlls/dpvvox/version.rc | 26 ++++++++++++++++++++++++++
4 files changed, 37 insertions(+)
create mode 100644 dlls/dpvvox/Makefile.in
create mode 100644 dlls/dpvvox/dpvvox.spec
create mode 100644 dlls/dpvvox/version.rc
diff --git a/configure.ac b/configure.ac
index 749781df38a..ec12df76214 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3228,6 +3228,7 @@ 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/dpvvox)
WINE_CONFIG_MAKEFILE(dlls/dpwsockx)
WINE_CONFIG_MAKEFILE(dlls/drmclien)
WINE_CONFIG_MAKEFILE(dlls/dsdmo)
diff --git a/dlls/dpvvox/Makefile.in b/dlls/dpvvox/Makefile.in
new file mode 100644
index 00000000000..76c1312e680
--- /dev/null
+++ b/dlls/dpvvox/Makefile.in
@@ -0,0 +1,6 @@
+MODULE = dpvvox.dll
+
+EXTRADLLFLAGS = -Wb,--prefer-native
+
+
+RC_SRCS = version.rc
diff --git a/dlls/dpvvox/dpvvox.spec b/dlls/dpvvox/dpvvox.spec
new file mode 100644
index 00000000000..fc4ae4a44c0
--- /dev/null
+++ b/dlls/dpvvox/dpvvox.spec
@@ -0,0 +1,4 @@
+@ stub DllRegisterServer
+@ stub DllCanUnloadNow
+@ stub DllGetClassObject
+@ stub DllUnregisterServer
\ No newline at end of file
diff --git a/dlls/dpvvox/version.rc b/dlls/dpvvox/version.rc
new file mode 100644
index 00000000000..d4e3a34c0a8
--- /dev/null
+++ b/dlls/dpvvox/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 dpvvox"
+#define WINE_FILENAME_STR "dpvvox.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