sys-apps/stroke: Fix build issue due to missing header
authorPacho Ramos <pacho@gentoo.org>
Sun, 20 Jan 2019 12:05:32 +0000 (13:05 +0100)
committerPacho Ramos <pacho@gentoo.org>
Sun, 20 Jan 2019 12:06:10 +0000 (13:06 +0100)
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@gentoo.org>
sys-apps/stroke/files/stroke-0.1.3-missing-header.patch [new file with mode: 0644]
sys-apps/stroke/stroke-0.1.3-r1.ebuild

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 (file)
index 0000000..920c926
--- /dev/null
@@ -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;
index 0014e6548605dd988df01691aab3cf333893c373..5dff589e0b30b682918a659f8085a79390bf9a09 100644 (file)
@@ -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" )