summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2019-01-20 13:05:32 +0100
committerPacho Ramos <pacho@gentoo.org>2019-01-20 13:06:10 +0100
commitd8060483b4c36ce2f27533164b09e7c89b84a930 (patch)
tree65693339870b6ca739e0d7ff957e5943991aa104
parentnet-irc/scrollz: Version bump (diff)
downloadgentoo-d8060483b4c36ce2f27533164b09e7c89b84a930.tar.gz
gentoo-d8060483b4c36ce2f27533164b09e7c89b84a930.tar.bz2
gentoo-d8060483b4c36ce2f27533164b09e7c89b84a930.zip
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@gentoo.org>
-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" )