1 |
commit: 5eb14ebe1692eb526cc16617a1b6f4c8ec8a3786 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 27 15:35:28 2016 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 27 15:35:28 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5eb14ebe |
7 |
|
8 |
media-sound/terminatorx: add missing includes, bug #563782 |
9 |
|
10 |
Reported-by: Toralf Förster |
11 |
Bug: https://bugs.gentoo.org/563782 |
12 |
|
13 |
Package-Manager: portage-2.3.0 |
14 |
|
15 |
.../files/terminatorx-3.84-includes.patch | 28 ++++++++++++++++++++++ |
16 |
media-sound/terminatorx/terminatorx-3.84-r1.ebuild | 3 ++- |
17 |
2 files changed, 30 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/media-sound/terminatorx/files/terminatorx-3.84-includes.patch b/media-sound/terminatorx/files/terminatorx-3.84-includes.patch |
20 |
new file mode 100644 |
21 |
index 00000000..792ac1d |
22 |
--- /dev/null |
23 |
+++ b/media-sound/terminatorx/files/terminatorx-3.84-includes.patch |
24 |
@@ -0,0 +1,28 @@ |
25 |
+diff --git a/src/tX_mouse.cc b/src/tX_mouse.cc |
26 |
+--- a/src/tX_mouse.cc |
27 |
++++ b/src/tX_mouse.cc |
28 |
+@@ -50,2 +50,3 @@ |
29 |
+ #include <stdlib.h> |
30 |
++#include <string.h> /* strcmp() */ |
31 |
+ |
32 |
+diff --git a/src/tX_mouse.h b/src/tX_mouse.h |
33 |
+--- a/src/tX_mouse.h |
34 |
++++ b/src/tX_mouse.h |
35 |
+@@ -38,2 +38,3 @@ |
36 |
+ #include <gdk/gdkkeysyms.h> |
37 |
++#include <gtk/gtk.h> /* GtkWidget */ |
38 |
+ |
39 |
+diff --git a/src/tX_vttgui.cc b/src/tX_vttgui.cc |
40 |
+--- a/src/tX_vttgui.cc |
41 |
++++ b/src/tX_vttgui.cc |
42 |
+@@ -61,2 +61,3 @@ |
43 |
+ #include <stdio.h> |
44 |
++#include <string.h> /* strrchr() */ |
45 |
+ #include <ctype.h> |
46 |
+diff --git a/src/tX_global.h b/src/tX_global.h |
47 |
+--- a/src/tX_global.h |
48 |
++++ b/src/tX_global.h |
49 |
+@@ -37,2 +37,3 @@ extern "C" { |
50 |
+ #include <stdio.h> |
51 |
++#include <string.h> /* strcpy() */ |
52 |
+ #include "tX_types.h" |
53 |
|
54 |
diff --git a/media-sound/terminatorx/terminatorx-3.84-r1.ebuild b/media-sound/terminatorx/terminatorx-3.84-r1.ebuild |
55 |
index f7c4499..08d0e39 100644 |
56 |
--- a/media-sound/terminatorx/terminatorx-3.84-r1.ebuild |
57 |
+++ b/media-sound/terminatorx/terminatorx-3.84-r1.ebuild |
58 |
@@ -1,4 +1,4 @@ |
59 |
-# Copyright 1999-2015 Gentoo Foundation |
60 |
+# Copyright 1999-2016 Gentoo Foundation |
61 |
# Distributed under the terms of the GNU General Public License v2 |
62 |
# $Id$ |
63 |
|
64 |
@@ -46,6 +46,7 @@ S=${WORKDIR}/${MY_P} |
65 |
src_prepare() { |
66 |
# Patch from debian to compile with recent zlib |
67 |
epatch "${FILESDIR}"/${PN}-3.84-new-zlib.patch |
68 |
+ epatch "${FILESDIR}"/${PN}-3.84-includes.patch |
69 |
gnome2_src_prepare |
70 |
} |