From d8060483b4c36ce2f27533164b09e7c89b84a930 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sun, 20 Jan 2019 13:05:32 +0100 Subject: sys-apps/stroke: Fix build issue due to missing header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- 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(-) create mode 100644 sys-apps/stroke/files/stroke-0.1.3-missing-header.patch 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 +- ++#include + #include + + 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" ) -- cgit v1.2.3-65-gdbad