File: support_anthy-0.3.patch

package info (click to toggle)
uim 1%3A1.9.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 37,436 kB
  • sloc: lisp: 354,934; ansic: 89,076; cpp: 29,587; sh: 5,708; makefile: 2,846; asm: 333; ruby: 290; xml: 30; javascript: 29
file content (35 lines) | stat: -rw-r--r-- 1,375 bytes parent folder | download
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
29
30
31
32
33
34
35
Description: support anthy-0.3
Author: HIGUCHI Daisuke (VDR dai) <dai@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2025-05-03

Index: uim-1.9.1/configure.ac
===================================================================
--- uim-1.9.1.orig/configure.ac
+++ uim-1.9.1/configure.ac
@@ -124,7 +124,7 @@ fi
 if test "x$with_anthy" = xyes; then
   ANTHY_LIBS="-lanthy -lanthydic"
   ANTHY_CFLAGS=""
-  PKG_CHECK_EXISTS(anthy >= 8622,
+  PKG_CHECK_EXISTS(anthy >= 0.3,
                    [AC_DEFINE(LIBANTHY_UTF8_CAPABLE, 1,
                     "libanthy can handle UTF-8")])
 fi
@@ -142,11 +142,11 @@ AC_ARG_WITH(anthy-utf8,
   [with_anthy_utf8=no])
 
 if test "x$with_anthy_utf8" != xno; then
-  PKG_CHECK_MODULES(ANTHY_UTF8, anthy-unicode,
+  PKG_CHECK_MODULES(ANTHY_UTF8, anthy >= 0.3,
                     [with_anthy_utf8=yes
                      AC_DEFINE(LIBANTHY_UTF8_CAPABLE, 1,
                      [libanthy-unicode can handle UTF-8])],
-                    [PKG_CHECK_MODULES(ANTHY_UTF8, anthy >= 8622,
+                    [PKG_CHECK_MODULES(ANTHY_UTF8, anthy >= 0.3,
                                        [with_anthy_utf8=yes
                                         AC_DEFINE(LIBANTHY_UTF8_CAPABLE, 1,
                                         [libanthy can handle UTF-8])],
                                        with_anthy_utf8=no)])
fi