Package-Manager: Portage-2.3.6, Repoman-2.3.1
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."
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"
+++ /dev/null
-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
--- /dev/null
+--- 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