From 00ba58231d41a5bcf2e6d328abdeba49992d6baf Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sun, 17 Jan 2016 06:59:17 +0100 Subject: [PATCH] Added patch to add include file activation.idl. --- ...vation.idl-with-IActivationFactory-i.patch | 66 +++++++++++++++++++ patches/patchinstall.sh | 16 +++++ 2 files changed, 82 insertions(+) create mode 100644 patches/combase-RoApi/0001-include-Add-activation.idl-with-IActivationFactory-i.patch diff --git a/patches/combase-RoApi/0001-include-Add-activation.idl-with-IActivationFactory-i.patch b/patches/combase-RoApi/0001-include-Add-activation.idl-with-IActivationFactory-i.patch new file mode 100644 index 00000000..cb20df2b --- /dev/null +++ b/patches/combase-RoApi/0001-include-Add-activation.idl-with-IActivationFactory-i.patch @@ -0,0 +1,66 @@ +From b92b38bb3ad97ec7b8280c3b3bd694e48ff3e535 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michael=20M=C3=BCller?= +Date: Sun, 17 Jan 2016 01:36:08 +0100 +Subject: include: Add activation.idl with IActivationFactory interface. + +--- + include/Makefile.in | 1 + + include/activation.idl | 35 +++++++++++++++++++++++++++++++++++ + 2 files changed, 36 insertions(+) + create mode 100644 include/activation.idl + +diff --git a/include/Makefile.in b/include/Makefile.in +index 129ff6d..14e934c 100644 +--- a/include/Makefile.in ++++ b/include/Makefile.in +@@ -1,5 +1,6 @@ + IDL_SRCS = \ + access.idl \ ++ activation.idl \ + activaut.idl \ + activdbg.idl \ + activscp.idl \ +diff --git a/include/activation.idl b/include/activation.idl +new file mode 100644 +index 0000000..92ec011 +--- /dev/null ++++ b/include/activation.idl +@@ -0,0 +1,35 @@ ++/* ++ * Copyright 2016 Michael Müller ++ * ++ * 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 ++ */ ++ ++#if 0 ++#pragma makedep install ++#endif ++ ++#ifndef DO_NO_IMPORTS ++import "inspectable.idl"; ++#endif ++ ++[ ++ object, ++ uuid(00000035-0000-0000-c000-000000000046), ++ pointer_default(unique) ++] ++interface IActivationFactory : IInspectable ++{ ++ HRESULT ActivateInstance([out] IInspectable **instance); ++} +-- +2.6.4 + diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index 72810b22..84993a15 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -92,6 +92,7 @@ patch_enable_all () enable_api_ms_win_Stub_DLLs="$1" enable_authz_Stub_Functions="$1" enable_browseui_Progress_Dialog="$1" + enable_combase_RoApi="$1" enable_combase_WindowsString="$1" enable_comctl32_Button_Theming="$1" enable_comctl32_PROPSHEET_InsertPage="$1" @@ -406,6 +407,9 @@ patch_enable () category-stable) enable_category_stable="$2" ;; + combase-RoApi) + enable_combase_RoApi="$2" + ;; combase-WindowsString) enable_combase_WindowsString="$2" ;; @@ -2575,6 +2579,18 @@ if test "$enable_browseui_Progress_Dialog" -eq 1; then ) >> "$patchlist" fi +# Patchset combase-RoApi +# | +# | Modified files: +# | * include/Makefile.in, include/activation.idl +# | +if test "$enable_combase_RoApi" -eq 1; then + patch_apply combase-RoApi/0001-include-Add-activation.idl-with-IActivationFactory-i.patch + ( + echo '+ { "Michael Müller", "include: Add activation.idl with IActivationFactory interface.", 1 },'; + ) >> "$patchlist" +fi + # Patchset combase-WindowsString # | # | Modified files: