app-i18n/anthy: update patch
authorAkinori Hattori <hattya@gentoo.org>
Sun, 23 Jul 2017 14:49:17 +0000 (23:49 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Sun, 23 Jul 2017 14:50:14 +0000 (23:50 +0900)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

app-i18n/anthy/anthy-9100h-r1.ebuild
app-i18n/anthy/anthy-9100h-r2.ebuild
app-i18n/anthy/files/anthy-9100h-anthy_context_t.patch [deleted file]
app-i18n/anthy/files/anthy-anthy_context_t.patch [new file with mode: 0644]

index 1a3713f260513ea3cef74cc38cf4dffc01b8e2b2..2f19573106ffbd0cf5c83fa809503013fbdd486e 100644 (file)
@@ -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."
index 1d96fbfc15cb6c2840f97508a8808a557862977d..7b639dd72147ffb6074e27a494584058f9968fde 100644 (file)
@@ -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 (file)
index b46a136..0000000
+++ /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 (file)
index 0000000..aab4ab7
--- /dev/null
@@ -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