1 |
commit: d8060483b4c36ce2f27533164b09e7c89b84a930 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 20 12:05:32 2019 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 20 12:06:10 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8060483 |
7 |
|
8 |
sys-apps/stroke: Fix build issue due to missing header |
9 |
|
10 |
Thanks-to: Toralf Förster |
11 |
Thanks-to: ta2002 |
12 |
Thanks-to: Hu |
13 |
Closes: https://bugs.gentoo.org/639196 |
14 |
Package-Manager: Portage-2.3.55, Repoman-2.3.12 |
15 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
16 |
|
17 |
sys-apps/stroke/files/stroke-0.1.3-missing-header.patch | 11 +++++++++++ |
18 |
sys-apps/stroke/stroke-0.1.3-r1.ebuild | 6 +++--- |
19 |
2 files changed, 14 insertions(+), 3 deletions(-) |
20 |
|
21 |
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 |
22 |
new file mode 100644 |
23 |
index 00000000000..920c9260a97 |
24 |
--- /dev/null |
25 |
+++ b/sys-apps/stroke/files/stroke-0.1.3-missing-header.patch |
26 |
@@ -0,0 +1,11 @@ |
27 |
+--- stroke-0.1.3/src/libgeneral/src/signals.c 2009-05-27 13:36:11.000000000 +0000 |
28 |
++++ stroke-0.1.3/src/libgeneral/src/signals.c 2019-01-01 00:00:00.000000000 +0000 |
29 |
+@@ -26,7 +26,7 @@ |
30 |
+ #endif |
31 |
+ |
32 |
+ #include <stdlib.h> |
33 |
+- |
34 |
++#include <signal.h> |
35 |
+ #include <libgeneral/signals.h> |
36 |
+ |
37 |
+ int _set_jmp_val; |
38 |
|
39 |
diff --git a/sys-apps/stroke/stroke-0.1.3-r1.ebuild b/sys-apps/stroke/stroke-0.1.3-r1.ebuild |
40 |
index 0014e654860..5dff589e0b3 100644 |
41 |
--- a/sys-apps/stroke/stroke-0.1.3-r1.ebuild |
42 |
+++ b/sys-apps/stroke/stroke-0.1.3-r1.ebuild |
43 |
@@ -1,7 +1,7 @@ |
44 |
-# Copyright 1999-2016 Gentoo Foundation |
45 |
+# Copyright 1999-2019 Gentoo Authors |
46 |
# Distributed under the terms of the GNU General Public License v2 |
47 |
|
48 |
-EAPI=6 |
49 |
+EAPI=7 |
50 |
|
51 |
DESCRIPTION="A powerful tool to change file timestamps (including ctimes)" |
52 |
HOMEPAGE="http://stroke.sourceforge.net/" |
53 |
@@ -12,4 +12,4 @@ SLOT="0" |
54 |
KEYWORDS="~amd64 ~x86" |
55 |
IUSE="" |
56 |
|
57 |
-DOCS=( AUTHORS ChangeLog README TODO ) |
58 |
+PATCHES=( "${FILESDIR}/${P}-missing-header.patch" ) |