summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Klimaszewski <steev@gentoo.org>2010-04-04 13:52:04 +0000
committerStephen Klimaszewski <steev@gentoo.org>2010-04-04 13:52:04 +0000
commit7f5e24a4ad2525ad932fccea0801edd107315dd1 (patch)
tree01978fa3dcf7ad1181f9504045c5ea829efd2cf4 /x11-terms
parent~amd64 added wrt bug #311593 (diff)
downloadgentoo-2-7f5e24a4ad2525ad932fccea0801edd107315dd1.tar.gz
gentoo-2-7f5e24a4ad2525ad932fccea0801edd107315dd1.tar.bz2
gentoo-2-7f5e24a4ad2525ad932fccea0801edd107315dd1.zip
Add patch to fix a segfault. Fixes bug #310295. Thanks to Simon
<s7mon@web.de> and Lars <hermes.trismegistos@web.de> for their work on this. (Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/tilda/ChangeLog8
-rw-r--r--x11-terms/tilda/files/tilda-0.9.6-gdk_resources.patch12
-rw-r--r--x11-terms/tilda/tilda-0.9.6.ebuild10
3 files changed, 28 insertions, 2 deletions
diff --git a/x11-terms/tilda/ChangeLog b/x11-terms/tilda/ChangeLog
index 5e690601e53e..01351c3e5994 100644
--- a/x11-terms/tilda/ChangeLog
+++ b/x11-terms/tilda/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-terms/tilda
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/tilda/ChangeLog,v 1.22 2010/01/06 19:34:14 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/tilda/ChangeLog,v 1.23 2010/04/04 13:52:04 steev Exp $
+
+ 04 Apr 2010; <steev@gentoo.org> tilda-0.9.6.ebuild,
+ +files/tilda-0.9.6-gdk_resources.patch:
+ Add patch to fix a segfault. Fixes bug #310295. Thanks to Simon
+ <s7mon@web.de> and Lars <hermes.trismegistos@web.de> for their work on
+ this.
06 Jan 2010; Christian Faulhammer <fauli@gentoo.org> tilda-0.9.6.ebuild:
Transfer Prefix keywords
diff --git a/x11-terms/tilda/files/tilda-0.9.6-gdk_resources.patch b/x11-terms/tilda/files/tilda-0.9.6-gdk_resources.patch
new file mode 100644
index 000000000000..a26ba91f5ec0
--- /dev/null
+++ b/x11-terms/tilda/files/tilda-0.9.6-gdk_resources.patch
@@ -0,0 +1,12 @@
+--- src/tilda_window.c 2008-01-17 23:07:39.000000000 +0100
++++ src/tilda_window.c 2010-03-19 22:30:31.000000000 +0100
+@@ -427,6 +427,9 @@
+ gtk_window_move (GTK_WINDOW(tw->window), config_getint ("x_pos"), config_getint ("y_pos"));
+ gtk_window_set_default_size (GTK_WINDOW(tw->window), config_getint ("max_width"), config_getint ("max_height"));
+ gtk_window_resize (GTK_WINDOW(tw->window), config_getint ("max_width"), config_getint ("max_height"));
++ /* Create GDK resources now, to prevent crashes later on */
++ gtk_widget_realize (tw->window);
++
+ generate_animation_positions (tw);
+
+ return tw;
diff --git a/x11-terms/tilda/tilda-0.9.6.ebuild b/x11-terms/tilda/tilda-0.9.6.ebuild
index 6a844c3fbd54..6aba02370411 100644
--- a/x11-terms/tilda/tilda-0.9.6.ebuild
+++ b/x11-terms/tilda/tilda-0.9.6.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/tilda/tilda-0.9.6.ebuild,v 1.6 2010/01/06 19:34:14 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/tilda/tilda-0.9.6.ebuild,v 1.7 2010/04/04 13:52:04 steev Exp $
+
+inherit eutils
DESCRIPTION="A drop down terminal, similar to the consoles found in first person shooters"
HOMEPAGE="http://tilda.sourceforge.net"
@@ -18,6 +20,12 @@ RDEPEND="x11-libs/vte
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.9.6-gdk_resources.patch
+}
+
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog README TODO