summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/stroke')
-rw-r--r--sys-apps/stroke/files/stroke-0.1.3-missing-header.patch11
-rw-r--r--sys-apps/stroke/stroke-0.1.3-r1.ebuild6
2 files changed, 14 insertions, 3 deletions
diff --git a/sys-apps/stroke/files/stroke-0.1.3-missing-header.patch b/sys-apps/stroke/files/stroke-0.1.3-missing-header.patch
new file mode 100644
index 000000000000..920c9260a977
--- /dev/null
+++ b/sys-apps/stroke/files/stroke-0.1.3-missing-header.patch
@@ -0,0 +1,11 @@
+--- stroke-0.1.3/src/libgeneral/src/signals.c 2009-05-27 13:36:11.000000000 +0000
++++ stroke-0.1.3/src/libgeneral/src/signals.c 2019-01-01 00:00:00.000000000 +0000
+@@ -26,7 +26,7 @@
+ #endif
+
+ #include <stdlib.h>
+-
++#include <signal.h>
+ #include <libgeneral/signals.h>
+
+ int _set_jmp_val;
diff --git a/sys-apps/stroke/stroke-0.1.3-r1.ebuild b/sys-apps/stroke/stroke-0.1.3-r1.ebuild
index 0014e6548605..5dff589e0b30 100644
--- a/sys-apps/stroke/stroke-0.1.3-r1.ebuild
+++ b/sys-apps/stroke/stroke-0.1.3-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
DESCRIPTION="A powerful tool to change file timestamps (including ctimes)"
HOMEPAGE="http://stroke.sourceforge.net/"
@@ -12,4 +12,4 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DOCS=( AUTHORS ChangeLog README TODO )
+PATCHES=( "${FILESDIR}/${P}-missing-header.patch" )