wine-staging/patches/dxdiag-new-dlls/0011-dx7vb-add-stub-dll.patch

87 lines
2.8 KiB
Diff

From 2703aa7a1e1d811924a8fa59fbdf88f44e4ff035 Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish@gmail.com>
Date: Tue, 13 Oct 2020 04:42:03 -0500
Subject: [PATCH] dx7vb: add stub dll
Signed-off-by: Austin English <austinenglish@gmail.com>
---
configure.ac | 1 +
dlls/dx7vb/Makefile.in | 6 ++++++
dlls/dx7vb/dx7vb.spec | 4 ++++
dlls/dx7vb/version.rc | 26 ++++++++++++++++++++++++++
4 files changed, 37 insertions(+)
create mode 100644 dlls/dx7vb/Makefile.in
create mode 100644 dlls/dx7vb/dx7vb.spec
create mode 100644 dlls/dx7vb/version.rc
diff --git a/configure.ac b/configure.ac
index 47e8427f6b8..44021303331 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3247,6 +3247,7 @@ WINE_CONFIG_MAKEFILE(dlls/dwmapi)
WINE_CONFIG_MAKEFILE(dlls/dwmapi/tests)
WINE_CONFIG_MAKEFILE(dlls/dwrite)
WINE_CONFIG_MAKEFILE(dlls/dwrite/tests)
+WINE_CONFIG_MAKEFILE(dlls/dx7vb)
WINE_CONFIG_MAKEFILE(dlls/dx8vb)
WINE_CONFIG_MAKEFILE(dlls/dxapi.sys)
WINE_CONFIG_MAKEFILE(dlls/dxdiagn)
diff --git a/dlls/dx7vb/Makefile.in b/dlls/dx7vb/Makefile.in
new file mode 100644
index 00000000000..104343c9388
--- /dev/null
+++ b/dlls/dx7vb/Makefile.in
@@ -0,0 +1,6 @@
+MODULE = dx7vb.dll
+
+EXTRADLLFLAGS = -Wb,--prefer-native
+
+
+RC_SRCS = version.rc
diff --git a/dlls/dx7vb/dx7vb.spec b/dlls/dx7vb/dx7vb.spec
new file mode 100644
index 00000000000..a043605127d
--- /dev/null
+++ b/dlls/dx7vb/dx7vb.spec
@@ -0,0 +1,4 @@
+@ stub DllCanUnloadNow
+@ stub DllGetClassObject
+@ stub DllRegisterServer
+@ stub DllUnregisterServer
\ No newline at end of file
diff --git a/dlls/dx7vb/version.rc b/dlls/dx7vb/version.rc
new file mode 100644
index 00000000000..c401dfb471d
--- /dev/null
+++ b/dlls/dx7vb/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 dx7vb"
+#define WINE_FILENAME_STR "dx7vb.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