-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
DEPEND="${RDEPEND}"
src_prepare() {
- epatch "${FILESDIR}"/${PN}-*.diff
+ epatch "${FILESDIR}"/${P}-ae-location.patch
sed -i \
-e "s/make -/\$(MAKE) -/g" \
---- aee-2.2.15b.orig/aee.1
-+++ aee-2.2.15b/aee.1
+--- a/aee.1
++++ b/aee.1
@@ -678,7 +678,7 @@
.\"
.SS Initializing aee From A File
.br
.I $HOME/.aeeinfo
.br
---- aee-2.2.15b.orig/aee.c
-+++ aee-2.2.15b/aee.c
+--- a/aee.c
++++ b/aee.c
@@ -2612,7 +2612,7 @@
char *init_name[4] = {
NULL,
".init.ae"
};
---- aee-2.2.15b.orig/aee.msg
-+++ aee-2.2.15b/aee.msg
+--- a/aee.msg
++++ b/aee.msg
@@ -2,7 +2,7 @@
$
$set 1
2 "main"
3 "modes menu"
4 "tabs to spaces "
---- aee-2.2.15b.orig/help.ae
-+++ aee-2.2.15b/help.ae
+--- a/help.ae
++++ b/help.ae
@@ -1058,11 +1058,11 @@
The file 'init.ae' may be used to set parameters and define keys to
.init.ae, then the current directory. The settings from each file are read,
so that the directives from the most recently read file will take precedence
over previously read files. This allows, for example, the .init.ae file in
---- aee-2.2.15b.orig/help.c
-+++ aee-2.2.15b/help.c
+--- a/help.c
++++ b/help.c
@@ -12,7 +12,7 @@
char *help_file_list[4] = {
"~/.help.ae",
"help.ae"
};
---- aee-2.2.15b.orig/localize.c
-+++ aee-2.2.15b/localize.c
+--- a/localize.c
++++ b/localize.c
@@ -64,7 +64,7 @@
catalog = catopen("aee", 0);
#endif /* NO_CATGETS */