[PATCH] vga: add stub dll

Louis Lenders xerox.xerox2000x at gmail.com
Thu Jan 30 06:25:44 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=48424

(note: the dll doesn`t export anything)

Signed-off-by: Louis Lenders <xerox.xerox2000x at gmail.com>
---
 configure            |  2 ++
 configure.ac         |  1 +
 dlls/vga/Makefile.in |  6 ++++++
 dlls/vga/version.rc  | 28 ++++++++++++++++++++++++++++
 dlls/vga/vga.spec    |  0
 5 files changed, 37 insertions(+)
 create mode 100644 dlls/vga/Makefile.in
 create mode 100644 dlls/vga/version.rc
 create mode 100644 dlls/vga/vga.spec

diff --git a/configure b/configure
index 5fca5bd27f..89782da916 100755
--- a/configure
+++ b/configure
@@ -1612,6 +1612,7 @@ enable_vcruntime140
 enable_vcruntime140_1
 enable_vdmdbg
 enable_version
+enable_vga
 enable_virtdisk
 enable_vssapi
 enable_vulkan_1
@@ -20914,6 +20915,7 @@ wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
 wine_fn_config_makefile dlls/ver.dll16 enable_win16
 wine_fn_config_makefile dlls/version enable_version
 wine_fn_config_makefile dlls/version/tests enable_tests
+wine_fn_config_makefile dlls/vga enable_vga
 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
 wine_fn_config_makefile dlls/vmm.vxd enable_win16
diff --git a/configure.ac b/configure.ac
index 36f65378a4..ba5c83cb6d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3723,6 +3723,7 @@ WINE_CONFIG_MAKEFILE(dlls/vdmdbg)
 WINE_CONFIG_MAKEFILE(dlls/ver.dll16,enable_win16)
 WINE_CONFIG_MAKEFILE(dlls/version)
 WINE_CONFIG_MAKEFILE(dlls/version/tests)
+WINE_CONFIG_MAKEFILE(dlls/vga)
 WINE_CONFIG_MAKEFILE(dlls/virtdisk)
 WINE_CONFIG_MAKEFILE(dlls/virtdisk/tests)
 WINE_CONFIG_MAKEFILE(dlls/vmm.vxd,enable_win16)
diff --git a/dlls/vga/Makefile.in b/dlls/vga/Makefile.in
new file mode 100644
index 0000000000..a2bf606488
--- /dev/null
+++ b/dlls/vga/Makefile.in
@@ -0,0 +1,6 @@
+MODULE    = vga.dll
+
+EXTRADLLFLAGS = -mno-cygwin
+
+RC_SRCS = \
+	version.rc
diff --git a/dlls/vga/version.rc b/dlls/vga/version.rc
new file mode 100644
index 0000000000..4c63f7ef8a
--- /dev/null
+++ b/dlls/vga/version.rc
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2020 Louis Lenders
+ *
+ * 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 vga DLL"
+#define WINE_FILENAME_STR "vga.dll"
+
+/* these values come from Windows 7 SP1 */
+#define WINE_FILEVERSION 6,1,7600,16385
+#define WINE_FILEVERSION_STR "6.1.7600.16385"
+#define WINE_PRODUCTVERSION 6,1,7600,16385
+#define WINE_PRODUCTVERSION_STR "6.1.7600.16385"
+
+#include "wine/wine_common_ver.rc"
diff --git a/dlls/vga/vga.spec b/dlls/vga/vga.spec
new file mode 100644
index 0000000000..e69de29bb2
-- 
2.25.0




More information about the wine-devel mailing list