[libtext-mecab-perl] 06/14: Update patch 010_use_utf8_dictionary.
gregor herrmann
gregoa at debian.org
Fri Jan 10 21:03:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libtext-mecab-perl.
commit 47b952c88604d6600557a6ff6b64d0c61f55f4de
Author: gregor herrmann <gregoa at debian.org>
Date: Fri Jan 10 21:54:10 2014 +0100
Update patch 010_use_utf8_dictionary.
---
debian/patches/010_use_utf8_dictionary | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/debian/patches/010_use_utf8_dictionary b/debian/patches/010_use_utf8_dictionary
index 4043adb..ed4a9d0 100644
--- a/debian/patches/010_use_utf8_dictionary
+++ b/debian/patches/010_use_utf8_dictionary
@@ -1,18 +1,18 @@
+Description: set fallback encoding to utf-8
+Origin: vendor
+Forwarded: no
+Author: Taku YASUI <tach at debian.org>
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2014-01-10
+
--- a/tools/probe_mecab.pl
+++ b/tools/probe_mecab.pl
-@@ -5,7 +5,7 @@
- use Getopt::Long;
+@@ -6,7 +6,7 @@
use ExtUtils::MakeMaker ();
--my $default_encoding = 'euc-jp';
-+my $default_encoding = 'utf-8';
+ # May specify encoding from ENV
+-my $default_encoding = $ENV{PERL_TEXT_MECAB_ENCODING} || 'euc-jp';
++my $default_encoding = $ENV{PERL_TEXT_MECAB_ENCODING} || 'utf-8';
+
my $default_config;
if (! GetOptions(
- "encoding=s" => \$default_encoding,
-@@ -133,4 +133,4 @@
- include => $include,
- encoding => $encoding,
- config => $mecab_config,
--};
-\ No newline at end of file
-+};
--
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