[pkg-wine-party] [wine] 282/300: msports: Add stub dll.

Michael Gilbert mgilbert at moszumanska.debian.org
Mon Sep 12 02:55:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

mgilbert pushed a commit to branch master
in repository wine.

commit 7cfa7496c7d891ef2c39b15438b5182bd638fb1e
Author: Austin English <austinenglish at gmail.com>
Date:   Wed Aug 31 01:46:55 2016 -0500

    msports: Add stub dll.
    
    Signed-off-by: Austin English <austinenglish at gmail.com>
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
 configure                 |  2 ++
 configure.ac              |  1 +
 dlls/msports/Makefile.in  |  4 ++++
 dlls/msports/main.c       | 45 +++++++++++++++++++++++++++++++++++++++++++++
 dlls/msports/msports.spec | 11 +++++++++++
 5 files changed, 63 insertions(+)

diff --git a/configure b/configure
index 27dcd4b..5b92af9 100755
--- a/configure
+++ b/configure
@@ -1219,6 +1219,7 @@ enable_msisys_ocx
 enable_msls31
 enable_msnet32
 enable_mspatcha
+enable_msports
 enable_msrle32
 enable_msscript_ocx
 enable_mssign32
@@ -17872,6 +17873,7 @@ wine_fn_config_dll msisys.ocx enable_msisys_ocx
 wine_fn_config_dll msls31 enable_msls31
 wine_fn_config_dll msnet32 enable_msnet32
 wine_fn_config_dll mspatcha enable_mspatcha implib
+wine_fn_config_dll msports enable_msports
 wine_fn_config_dll msrle32 enable_msrle32 clean
 wine_fn_config_test dlls/msrle32/tests msrle32_test
 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
diff --git a/configure.ac b/configure.ac
index d008fe8..0331c36 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3093,6 +3093,7 @@ WINE_CONFIG_DLL(msisys.ocx)
 WINE_CONFIG_DLL(msls31)
 WINE_CONFIG_DLL(msnet32)
 WINE_CONFIG_DLL(mspatcha,,[implib])
+WINE_CONFIG_DLL(msports)
 WINE_CONFIG_DLL(msrle32,,[clean])
 WINE_CONFIG_TEST(dlls/msrle32/tests)
 WINE_CONFIG_DLL(msscript.ocx,,[clean])
diff --git a/dlls/msports/Makefile.in b/dlls/msports/Makefile.in
new file mode 100644
index 0000000..d4e8593
--- /dev/null
+++ b/dlls/msports/Makefile.in
@@ -0,0 +1,4 @@
+MODULE    = msports.dll
+
+C_SRCS = \
+	main.c
diff --git a/dlls/msports/main.c b/dlls/msports/main.c
new file mode 100644
index 0000000..fe2c153
--- /dev/null
+++ b/dlls/msports/main.c
@@ -0,0 +1,45 @@
+/*
+ * msports.dll
+ *
+ * Copyright 2016 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
+ */
+
+#include "config.h"
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(msports);
+
+BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
+{
+    TRACE("(%p, %u, %p)\n", instance, reason, reserved);
+
+    switch (reason)
+    {
+        case DLL_WINE_PREATTACH:
+            return FALSE;    /* prefer native version */
+        case DLL_PROCESS_ATTACH:
+            DisableThreadLibraryCalls(instance);
+            break;
+    }
+
+    return TRUE;
+}
diff --git a/dlls/msports/msports.spec b/dlls/msports/msports.spec
new file mode 100644
index 0000000..bb4b9c9
--- /dev/null
+++ b/dlls/msports/msports.spec
@@ -0,0 +1,11 @@
+@ stub ComDBClaimNextFreePort
+@ stub ComDBClaimPort
+@ stub ComDBClose
+@ stub ComDBGetCurrentPortUsage
+@ stub ComDBOpen
+@ stub ComDBReleasePort
+@ stub ComDBResizeDatabase
+@ stub ParallelPortPropPageProvider
+@ stub PortsClassInstaller
+@ stub SerialDisplayAdvancedSettings
+@ stub SerialPortPropPageProvider

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git



More information about the pkg-wine-party mailing list