File: 0002-Add-function-decl-no-longer-provided-by-fcitx-header.patch

package info (click to toggle)
fcitx-fbterm 0.2.0-5.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 232 kB
  • sloc: ansic: 1,158; sh: 79; makefile: 9
file content (28 lines) | stat: -rw-r--r-- 761 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Boyuan Yang <byang@debian.org>
Date: Sat, 16 Mar 2024 19:25:15 -0400
Subject: Add function decl no longer provided by fcitx headers

Bug-Debian: https://bugs.debian.org/1066226
---
 src/fcitx-fbterm.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/fcitx-fbterm.c b/src/fcitx-fbterm.c
index e3191fe..3ed0dbf 100644
--- a/src/fcitx-fbterm.c
+++ b/src/fcitx-fbterm.c
@@ -31,6 +31,14 @@
 #include "keycode.h"
 #include "keymap.h"
 
+// Debian: function no longer exposed via header file
+// see https://bugs.debian.org/1066266
+
+extern void fcitx_client_enable_ic(FcitxClient *);
+extern void fcitx_client_close_ic(FcitxClient *);
+
+// Debian: end of extra function declaration
+
 struct interval {
     unsigned first;
     unsigned last;