SHA256
1
0
forked from pool/fcitx

Accepting request 1174813 from M17N

- Add missing fcitx_client_close_ic and fcitx_client_enable_ic prototypes:
  fcitx-gclient-Export-fcitx_client_enable_ic-fcitx_cl.patch

OBS-URL: https://build.opensuse.org/request/show/1174813
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fcitx?expand=0&rev=71
This commit is contained in:
Ana Guerrero 2024-05-20 16:09:35 +00:00 committed by Git OBS Bridge
commit b0e45e1a8e
3 changed files with 43 additions and 1 deletions

View File

@ -0,0 +1,34 @@
From 4f49f71a8b2c0852d3dfcd990d0b8bb61b1974c8 Mon Sep 17 00:00:00 2001
From: Florian Weimer <fweimer@redhat.com>
Date: Thu, 15 Dec 2022 20:09:35 +0100
Subject: [PATCH] fcitx-gclient: Export fcitx_client_enable_ic,
fcitx_client_close_ic (#521)
Git-commit: 4f49f71a8b2c0852d3dfcd990d0b8bb61b1974c8
These functions are used from fcitx-fbterm. Adding function
prototypes to the installed header file seems to be the cleanest way
to ensure that fcitx-fbterm does not rely on implicit function
declarations (which are likely to result in errors with future
compilers by default).
---
src/lib/fcitx-gclient/fcitxclient.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/lib/fcitx-gclient/fcitxclient.h b/src/lib/fcitx-gclient/fcitxclient.h
index 52f0c958..8942111c 100644
--- a/src/lib/fcitx-gclient/fcitxclient.h
+++ b/src/lib/fcitx-gclient/fcitxclient.h
@@ -88,6 +88,9 @@ void fcitx_client_set_capacity(FcitxClient *self, guint flags);
void fcitx_client_reset(FcitxClient *self);
+void fcitx_client_enable_ic(FcitxClient *self);
+void fcitx_client_close_ic(FcitxClient *self);
+
G_END_DECLS
#endif // CLIENT_IM_H
--
2.45.1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 16 19:27:05 UTC 2024 - Michal Suchanek <msuchanek@suse.com>
- Add missing fcitx_client_close_ic and fcitx_client_enable_ic prototypes:
fcitx-gclient-Export-fcitx_client_enable_ic-fcitx_cl.patch
-------------------------------------------------------------------
Mon Feb 26 08:41:59 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package fcitx
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -41,6 +41,8 @@ Patch2: fcitx-autostart-check-INPUT_METHOD.patch
# PATCH-FIX-OPENSUSE downgrade cmake requirement to 3.1 again
Patch3: fcitx-cmake-3.1.patch
Patch4: remote-module-use-safe-directory-for-socket-API-sock.patch
# PATCH-FIX-UPSTREAM Add missing function prototypes
Patch5: fcitx-gclient-Export-fcitx_client_enable_ic-fcitx_cl.patch
BuildRequires: cairo-devel
BuildRequires: cmake
BuildRequires: dbus-1-devel