File ole-force-inproc-instead-of-local.patch of Package wine-lol

commit 3ed9efa63394e500e9a7a4dbbe14303da8086f6c
Author: Jan Zerebecki <jan.wine@zerebecki.de>
Date:   2010-01-11 20:18:43 +0100

    ole32: force inproc instead of local server

diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 583a9cb..c23de80 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -2261,6 +2261,11 @@ HRESULT WINAPI CoGetClassObject(
 
     TRACE("CLSID: %s,IID: %s\n", debugstr_guid(rclsid), debugstr_guid(iid));
 
+    if(CLSCTX_LOCAL_SERVER == dwClsContext) {
+        dwClsContext = CLSCTX_INPROC_SERVER;
+        WARN("forcing CLSCTX_INPROC_SERVER instead of CLSCTX_LOCAL_SERVER\n");
+    }
+
     if (!ppv)
         return E_INVALIDARG;
 
openSUSE Build Service is sponsored by