app-i18n/sunpinyin: update patches

Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
Akinori Hattori
2018-08-08 22:51:47 +09:00
parent d11de97429
commit 2b36f7ca86
4 changed files with 13 additions and 12 deletions
@@ -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']
@@ -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
@@ -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 @@
@@ -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
}