app-i18n/sunpinyin: update patches
authorAkinori Hattori <hattya@gentoo.org>
Wed, 8 Aug 2018 13:04:46 +0000 (22:04 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Wed, 8 Aug 2018 13:51:47 +0000 (22:51 +0900)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

app-i18n/sunpinyin/files/sunpinyin-2.0.3-force-switch.patch
app-i18n/sunpinyin/files/sunpinyin-2.0.4-gcc-6.patch [moved from app-i18n/sunpinyin/files/sunpinyin-2.0.4_pre20130108-gcc6-use-float.patch with 80% similarity]
app-i18n/sunpinyin/files/sunpinyin-2.0.4-pod2man.patch
app-i18n/sunpinyin/sunpinyin-2.0.4_pre20130108-r1.ebuild

index f2f6b389ba0904aa407c87bab9e7251bcaeee2fc..de85e82c1d5e09142d1460701d6e12b318b83fe1 100644 (file)
@@ -1,5 +1,3 @@
-diff --git a/SConstruct b/SConstruct
-index 68cd365..9bb6ebc 100644
 --- a/SConstruct
 +++ b/SConstruct
 @@ -180,12 +180,6 @@ libdir = env['LIBDIR']
similarity index 80%
rename from app-i18n/sunpinyin/files/sunpinyin-2.0.4_pre20130108-gcc6-use-float.patch
rename to app-i18n/sunpinyin/files/sunpinyin-2.0.4-gcc-6.patch
index 77fe2831c7d8f57af67df7a58ee4aca082204b88..0bceb38318b31b5777f17345dc5bd07b1f6b8091 100644 (file)
@@ -1,5 +1,9 @@
---- sunpinyin-2.0.4_pre20130108/src/slm/tslmpack/common.h.old  2016-09-20 02:54:15.046257131 -0400
-+++ sunpinyin-2.0.4_pre20130108/src/slm/tslmpack/common.h      2016-09-20 02:55:48.041124978 -0400
+https://bugs.gentoo.org/553796
+
+Author: Peter Levine <plevine457@gmail.com>
+
+--- a/src/slm/tslmpack/common.h
++++ b/src/slm/tslmpack/common.h
 @@ -53,10 +53,10 @@
  typedef std::map<float, int> RealIndexMap;  // map real values to their indices
  typedef std::map<std::string, unsigned int> TLexicon; // map word to wid
index 54831df2122081f3ef9a0f2b300e431063d06329..36e69d2deda3cb8d5c7b1adee61c16aab166ee38 100644 (file)
@@ -1,9 +1,8 @@
-From: Guo Yixuan <culu.gyx@gmail.com>
-Bug: https://code.google.com/archive/p/sunpinyin/issues/327
-Gentoo-Bug: 553796
+https://bugs.debian.org/790287
+https://code.google.com/p/sunpinyin/issues/detail?id=327
+
+Author: Guo Yixuan <culu.gyx@gmail.com>
 
-diff --git a/man/SConscript b/man/SConscript
-index f3ebd03..e1551eb 100644
 --- a/man/SConscript
 +++ b/man/SConscript
 @@ -1,7 +1,7 @@
index 84ef8dcc2cb4d052bc0df6ba0aad34442d2695b9..f5a8f933a5f1c0148f3b26aa6647c84e2b7d3779 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -23,8 +23,8 @@ DEPEND="${RDEPEND}
 PDEPEND="app-i18n/sunpinyin-data"
 
 src_prepare() {
-       epatch "${FILESDIR}"/${PN}-2.0.4-pod2man.patch
-       epatch "${FILESDIR}"/${P}-gcc6-use-float.patch
+       epatch "${FILESDIR}"/${P/_pre*}-pod2man.patch
+       epatch "${FILESDIR}"/${P/_pre*}-gcc-6.patch
        epatch_user
 }