summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-08-27 16:35:28 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2016-08-27 16:35:28 +0100
commit5eb14ebe1692eb526cc16617a1b6f4c8ec8a3786 (patch)
tree0c84be265bd90ccff377e0bf3eb2a800a78880b2 /media-sound
parentmedia-video/kmplayer: Fix build with USE="-npp" (diff)
downloadgentoo-5eb14ebe1692eb526cc16617a1b6f4c8ec8a3786.tar.gz
gentoo-5eb14ebe1692eb526cc16617a1b6f4c8ec8a3786.tar.bz2
gentoo-5eb14ebe1692eb526cc16617a1b6f4c8ec8a3786.zip
media-sound/terminatorx: add missing includes, bug #563782
Reported-by: Toralf Förster Bug: https://bugs.gentoo.org/563782 Package-Manager: portage-2.3.0
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/terminatorx/files/terminatorx-3.84-includes.patch28
-rw-r--r--media-sound/terminatorx/terminatorx-3.84-r1.ebuild3
2 files changed, 30 insertions, 1 deletions
diff --git a/media-sound/terminatorx/files/terminatorx-3.84-includes.patch b/media-sound/terminatorx/files/terminatorx-3.84-includes.patch
new file mode 100644
index 000000000000..792ac1db5f00
--- /dev/null
+++ b/media-sound/terminatorx/files/terminatorx-3.84-includes.patch
@@ -0,0 +1,28 @@
+diff --git a/src/tX_mouse.cc b/src/tX_mouse.cc
+--- a/src/tX_mouse.cc
++++ b/src/tX_mouse.cc
+@@ -50,2 +50,3 @@
+ #include <stdlib.h>
++#include <string.h> /* strcmp() */
+
+diff --git a/src/tX_mouse.h b/src/tX_mouse.h
+--- a/src/tX_mouse.h
++++ b/src/tX_mouse.h
+@@ -38,2 +38,3 @@
+ #include <gdk/gdkkeysyms.h>
++#include <gtk/gtk.h> /* GtkWidget */
+
+diff --git a/src/tX_vttgui.cc b/src/tX_vttgui.cc
+--- a/src/tX_vttgui.cc
++++ b/src/tX_vttgui.cc
+@@ -61,2 +61,3 @@
+ #include <stdio.h>
++#include <string.h> /* strrchr() */
+ #include <ctype.h>
+diff --git a/src/tX_global.h b/src/tX_global.h
+--- a/src/tX_global.h
++++ b/src/tX_global.h
+@@ -37,2 +37,3 @@ extern "C" {
+ #include <stdio.h>
++#include <string.h> /* strcpy() */
+ #include "tX_types.h"
diff --git a/media-sound/terminatorx/terminatorx-3.84-r1.ebuild b/media-sound/terminatorx/terminatorx-3.84-r1.ebuild
index f7c4499f6996..08d0e3978ac4 100644
--- a/media-sound/terminatorx/terminatorx-3.84-r1.ebuild
+++ b/media-sound/terminatorx/terminatorx-3.84-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -46,6 +46,7 @@ S=${WORKDIR}/${MY_P}
src_prepare() {
# Patch from debian to compile with recent zlib
epatch "${FILESDIR}"/${PN}-3.84-new-zlib.patch
+ epatch "${FILESDIR}"/${PN}-3.84-includes.patch
gnome2_src_prepare
}