commit: ea5b30612aecea0ca8952c820cb8588353e78162
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 10 15:39:44 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 10 15:45:27 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea5b3061
app-crypt/ckpass: EAPI 8
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../ckpass/{ckpass-0.2-r1.ebuild => ckpass-0.2-r2.ebuild} | 6 ++++--
.../files/ckpass-0.2-implicit-function-declaration.patch | 10 ++++++++++
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/app-crypt/ckpass/ckpass-0.2-r1.ebuild
b/app-crypt/ckpass/ckpass-0.2-r2.ebuild
similarity index 81%
rename from app-crypt/ckpass/ckpass-0.2-r1.ebuild
rename to app-crypt/ckpass/ckpass-0.2-r2.ebuild
index 4b1f070d0852..48fc5954525f 100644
--- a/app-crypt/ckpass/ckpass-0.2-r1.ebuild
+++ b/app-crypt/ckpass/ckpass-0.2-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
+
inherit autotools
DESCRIPTION="ncurses based password database client compatible with KeePass
1.x databases"
@@ -17,6 +18,7 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-tinfo.patch
+ "${FILESDIR}"/${P}-implicit-function-declaration.patch
)
src_prepare() {
diff --git
a/app-crypt/ckpass/files/ckpass-0.2-implicit-function-declaration.patch
b/app-crypt/ckpass/files/ckpass-0.2-implicit-function-declaration.patch
new file mode 100644
index 000000000000..78dce6d1a3f3
--- /dev/null
+++ b/app-crypt/ckpass/files/ckpass-0.2-implicit-function-declaration.patch
@@ -0,0 +1,10 @@
+--- a/ckpass.c
++++ b/ckpass.c
+@@ -30,6 +30,7 @@
+ #include <string.h>
+ #include <sys/mman.h>
+ #include <sys/stat.h>
++#include <sys/wait.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <errno.h>