commit:     d8060483b4c36ce2f27533164b09e7c89b84a930
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 20 12:05:32 2019 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Jan 20 12:06:10 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8060483

sys-apps/stroke: Fix build issue due to missing header

Thanks-to: Toralf Förster
Thanks-to: ta2002
Thanks-to: Hu
Closes: https://bugs.gentoo.org/639196
Package-Manager: Portage-2.3.55, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-apps/stroke/files/stroke-0.1.3-missing-header.patch | 11 +++++++++++
 sys-apps/stroke/stroke-0.1.3-r1.ebuild                  |  6 +++---
 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 00000000000..920c9260a97
--- /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 0014e654860..5dff589e0b3 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" )

Reply via email to