[libpinyin] fixes jv
Peng Wu
pwu at fedoraproject.org
Thu Jun 7 02:56:26 UTC 2012
commit 9298bb9c0ee1625b49679270f398b7670213a518
Author: Peng Wu <alexepico at gmail.com>
Date: Thu Jun 7 10:43:55 2012 +0800
fixes jv
libpinyin-0.6.x-head.patch | 25 +++++++++++++++++++++++++
libpinyin.spec | 5 ++++-
2 files changed, 29 insertions(+), 1 deletions(-)
---
diff --git a/libpinyin-0.6.x-head.patch b/libpinyin-0.6.x-head.patch
index e69de29..921ce65 100644
--- a/libpinyin-0.6.x-head.patch
+++ b/libpinyin-0.6.x-head.patch
@@ -0,0 +1,25 @@
+From 7a1e07bce049bddefc7404cb6e12158ca1742463 Mon Sep 17 00:00:00 2001
+From: Peng Wu <alexepico at gmail.com>
+Date: Wed, 6 Jun 2012 11:20:03 +0800
+Subject: [PATCH] fixes jv,ju in ABC
+
+---
+ src/storage/pinyin_parser2.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp
+index cebdf91..abea35c 100644
+--- a/src/storage/pinyin_parser2.cpp
++++ b/src/storage/pinyin_parser2.cpp
+@@ -574,7 +574,7 @@ bool DoublePinyinParser2::parse_one_key(pinyin_option_t options,
+
+ ChewingTone tone = CHEWING_ZERO_TONE;
+ options &= ~(PINYIN_INCOMPLETE|CHEWING_INCOMPLETE);
+- options |= PINYIN_CORRECT_UE_VE;
++ options |= PINYIN_CORRECT_UE_VE | PINYIN_CORRECT_V_U;
+
+ /* parse tone */
+ if (3 == len) {
+--
+1.7.10.2
+
diff --git a/libpinyin.spec b/libpinyin.spec
index 10596ae..27d2687 100644
--- a/libpinyin.spec
+++ b/libpinyin.spec
@@ -1,6 +1,6 @@
Name: libpinyin
Version: 0.6.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Library to deal with pinyin
License: GPLv2+
@@ -87,6 +87,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%{_mandir}/man1/*.1.*
%changelog
+* Thu Jun 07 2012 Peng Wu <pwu at redhat.com> - 0.6.0-2
+- Fixes "jv" => "ju"
+
* Mon May 28 2012 Peng Wu <pwu at redhat.com> - 0.6.0-1
- Update to 0.6.0
More information about the scm-commits
mailing list