From 6b9ff2f5d621c6592ce56414ac778e5d0f897832 Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Sun, 23 Jul 2017 23:49:17 +0900 Subject: [PATCH] app-i18n/anthy: update patch Package-Manager: Portage-2.3.6, Repoman-2.3.1 --- app-i18n/anthy/anthy-9100h-r1.ebuild | 2 +- app-i18n/anthy/anthy-9100h-r2.ebuild | 2 +- .../anthy/files/anthy-9100h-anthy_context_t.patch | 12 ------------ app-i18n/anthy/files/anthy-anthy_context_t.patch | 11 +++++++++++ 4 files changed, 13 insertions(+), 14 deletions(-) delete mode 100644 app-i18n/anthy/files/anthy-9100h-anthy_context_t.patch create mode 100644 app-i18n/anthy/files/anthy-anthy_context_t.patch diff --git a/app-i18n/anthy/anthy-9100h-r1.ebuild b/app-i18n/anthy/anthy-9100h-r1.ebuild index 1a3713f26051..2f19573106ff 100644 --- a/app-i18n/anthy/anthy-9100h-r1.ebuild +++ b/app-i18n/anthy/anthy-9100h-r1.ebuild @@ -19,7 +19,7 @@ RDEPEND="canna-2ch? ( app-dicts/canna-2ch ) DEPEND="${RDEPEND}" src_prepare() { - epatch "${FILESDIR}/${P}-anthy_context_t.patch" + epatch "${FILESDIR}"/${PN}-anthy_context_t.patch if use canna-2ch; then einfo "Adding nichan.ctd to anthy.dic." diff --git a/app-i18n/anthy/anthy-9100h-r2.ebuild b/app-i18n/anthy/anthy-9100h-r2.ebuild index 1d96fbfc15cb..7b639dd72147 100644 --- a/app-i18n/anthy/anthy-9100h-r2.ebuild +++ b/app-i18n/anthy/anthy-9100h-r2.ebuild @@ -18,7 +18,7 @@ RDEPEND="canna-2ch? ( app-dicts/canna-2ch ) emacs? ( virtual/emacs )" DEPEND="${RDEPEND}" -PATCHES=( "${FILESDIR}"/${P}-anthy_context_t.patch ) +PATCHES=( "${FILESDIR}"/${PN}-anthy_context_t.patch ) DOCS=( AUTHORS ChangeLog DIARY NEWS README ) SITEFILE="50${PN}-gentoo.el" diff --git a/app-i18n/anthy/files/anthy-9100h-anthy_context_t.patch b/app-i18n/anthy/files/anthy-9100h-anthy_context_t.patch deleted file mode 100644 index b46a136663bc..000000000000 --- a/app-i18n/anthy/files/anthy-9100h-anthy_context_t.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur anthy-9100h.orig/anthy/input.h anthy-9100h/anthy/input.h ---- anthy-9100h.orig/anthy/input.h 2006-05-13 18:28:35.000000000 +0900 -+++ anthy-9100h/anthy/input.h 2011-01-12 23:36:39.629749518 +0900 -@@ -10,6 +10,8 @@ - #ifndef INPUT_H_INCLUDE - #define INPUT_H_INCLUDE - -+#include "anthy.h" -+ - #ifdef __cplusplus - extern "C" { - #endif diff --git a/app-i18n/anthy/files/anthy-anthy_context_t.patch b/app-i18n/anthy/files/anthy-anthy_context_t.patch new file mode 100644 index 000000000000..aab4ab749ea0 --- /dev/null +++ b/app-i18n/anthy/files/anthy-anthy_context_t.patch @@ -0,0 +1,11 @@ +--- a/anthy/input.h ++++ b/anthy/input.h +@@ -10,6 +10,8 @@ + #ifndef INPUT_H_INCLUDE + #define INPUT_H_INCLUDE + ++#include "anthy.h" ++ + #ifdef __cplusplus + extern "C" { + #endif -- 2.26.2