File: 0002-use-system-library-in-kenlm.patch

package info (click to toggle)
libime 1.1.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,612 kB
  • sloc: cpp: 40,640; ansic: 952; python: 130; sh: 32; makefile: 11
file content (20 lines) | stat: -rw-r--r-- 593 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Shengjing Zhu <zhsj@debian.org>
Date: Sun, 27 Sep 2020 02:01:25 +0800
Subject: use system library in kenlm

Last-Update: 2022-08-31
---
 src/libime/core/kenlm/lm/query_main.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libime/core/kenlm/lm/query_main.cc b/src/libime/core/kenlm/lm/query_main.cc
index 4941128..b1a862e 100644
--- a/src/libime/core/kenlm/lm/query_main.cc
+++ b/src/libime/core/kenlm/lm/query_main.cc
@@ -1,5 +1,5 @@
 #include "ngram_query.hh"
-#include "../util/getopt.hh"
+#include <getopt.h>
 
 #ifdef WITH_NPLM
 #include "wrappers/nplm.hh"