summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-07-23 23:49:17 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-07-23 23:50:14 +0900
commit6b9ff2f5d621c6592ce56414ac778e5d0f897832 (patch)
treeec313382311a6acc21bf9ff07b747f1ae36d695e /app-i18n/anthy
parentapp-i18n/anthy: inherit ltprune (diff)
downloadgentoo-6b9ff2f5d621c6592ce56414ac778e5d0f897832.tar.gz
gentoo-6b9ff2f5d621c6592ce56414ac778e5d0f897832.tar.bz2
gentoo-6b9ff2f5d621c6592ce56414ac778e5d0f897832.zip
app-i18n/anthy: update patch
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/anthy')
-rw-r--r--app-i18n/anthy/anthy-9100h-r1.ebuild2
-rw-r--r--app-i18n/anthy/anthy-9100h-r2.ebuild2
-rw-r--r--app-i18n/anthy/files/anthy-9100h-anthy_context_t.patch12
-rw-r--r--app-i18n/anthy/files/anthy-anthy_context_t.patch11
4 files changed, 13 insertions, 14 deletions
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