[libtext-mecab-perl] 05/17: Add patch to use UTF-8 dictionary by default
Taku YASUI
tach at debian.org
Thu Aug 15 16:38:58 UTC 2013
This is an automated email from the git hooks/post-receive script.
tach pushed a commit to branch master
in repository libtext-mecab-perl.
commit 95ddbc57251d555ef2dd7fe7de985e11981aa6bf
Author: Taku YASUI <tach at debian.org>
Date: Sat Jul 16 13:45:05 2011 +0000
Add patch to use UTF-8 dictionary by default
---
debian/patches/010_use_utf8_dictionary | 18 ++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 19 insertions(+)
diff --git a/debian/patches/010_use_utf8_dictionary b/debian/patches/010_use_utf8_dictionary
new file mode 100644
index 0000000..ff28ad2
--- /dev/null
+++ b/debian/patches/010_use_utf8_dictionary
@@ -0,0 +1,18 @@
+--- a/tools/probe_mecab.pl
++++ b/tools/probe_mecab.pl
+@@ -95,7 +95,7 @@
+ print "No linker flags specified\n";
+ }
+
+-my $default_encoding = 'euc-jp';
++my $default_encoding = 'utf-8';
+ my $encoding = prompt(
+ join(
+ "\n",
+@@ -117,4 +117,4 @@
+ include => $include,
+ encoding => $encoding,
+ config => $mecab_config,
+-};
+\ No newline at end of file
++};
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2a2912e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+010_use_utf8_dictionary
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtext-mecab-perl.git
More information about the Pkg-perl-cvs-commits
mailing list