summaryrefslogtreecommitdiff
path: root/textproc/p5-Lingua-Identify-CLD/files/patch-CLD.xs
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2015-12-22 15:37:33 +0000
committerMartin Wilke <miwi@FreeBSD.org>2015-12-22 15:37:33 +0000
commitecaba1413e58eefa9d3085dce1b478f5d04f206d (patch)
tree3cbb3112990b885d15839e2af6401b511889dd82 /textproc/p5-Lingua-Identify-CLD/files/patch-CLD.xs
parentThe Python Dugong module provides an API for communicating with HTTP 1.1 (diff)
These are Perl bindings to CLD, the Compact Language Detection library
from Google/Chrome. WWW: http://search.cpan.org/dist/Lingua-Identify-CLD/ PR: 196428 Submitted by: Gasol Wu <gasol.wu@gmail.com> Approved by: mat (mentor) Differential Revision: D4638
Notes
Notes: svn path=/head/; revision=404244
Diffstat (limited to 'textproc/p5-Lingua-Identify-CLD/files/patch-CLD.xs')
-rw-r--r--textproc/p5-Lingua-Identify-CLD/files/patch-CLD.xs16
1 files changed, 16 insertions, 0 deletions
diff --git a/textproc/p5-Lingua-Identify-CLD/files/patch-CLD.xs b/textproc/p5-Lingua-Identify-CLD/files/patch-CLD.xs
new file mode 100644
index 000000000000..c89f67eb72e4
--- /dev/null
+++ b/textproc/p5-Lingua-Identify-CLD/files/patch-CLD.xs
@@ -0,0 +1,16 @@
+--- CLD.xs.orig 2014-09-07 20:44:12 UTC
++++ CLD.xs
+@@ -24,10 +24,9 @@ extern "C" {
+ # define dNOOP
+ #endif
+
+-#include "encodings/compact_lang_det/compact_lang_det.h"
+-#include "encodings/compact_lang_det/ext_lang_enc.h"
+-#include "encodings/compact_lang_det/unittest_data.h"
+-#include "encodings/proto/encodings.pb.h"
++#include "compact_lang_det.h"
++#include "ext_lang_enc.h"
++#include "encodings/public/encodings.h"
+
+ MODULE = Lingua::Identify::CLD PACKAGE = Lingua::Identify::CLD
+