summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2008-05-02 19:24:01 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2008-05-02 19:24:01 +0000
commit0e35c03616168b73fc99a16f158df8c8bd69956d (patch)
treebee31b635c5f73709378bee55af4b464b049fa0c /x11-misc/grsync
parentcontrarius is no longer optional. cran is currently broken and will probably ... (diff)
downloadgentoo-2-0e35c03616168b73fc99a16f158df8c8bd69956d.tar.gz
gentoo-2-0e35c03616168b73fc99a16f158df8c8bd69956d.tar.bz2
gentoo-2-0e35c03616168b73fc99a16f158df8c8bd69956d.zip
Fix #209377, patch by Mahmoud Kassem as per https://bugs.launchpad.net/ubuntu/+source/grsync/+bug/148272
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'x11-misc/grsync')
-rw-r--r--x11-misc/grsync/ChangeLog9
-rw-r--r--x11-misc/grsync/files/session-crash.patch11
-rw-r--r--x11-misc/grsync/grsync-0.6.1-r1.ebuild (renamed from x11-misc/grsync/grsync-0.6.1.ebuild)8
3 files changed, 26 insertions, 2 deletions
diff --git a/x11-misc/grsync/ChangeLog b/x11-misc/grsync/ChangeLog
index bcb735855d3f..369fce519919 100644
--- a/x11-misc/grsync/ChangeLog
+++ b/x11-misc/grsync/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-misc/grsync
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/grsync/ChangeLog,v 1.14 2008/01/22 15:55:41 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/grsync/ChangeLog,v 1.15 2008/05/02 19:24:00 dertobi123 Exp $
+
+*grsync-0.6.1-r1 (02 May 2008)
+
+ 02 May 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+ +files/session-crash.patch, -grsync-0.6.1.ebuild, +grsync-0.6.1-r1.ebuild:
+ Fix #209377, patch by Mahmoud Kassem as per
+ https://bugs.launchpad.net/ubuntu/+source/grsync/+bug/148272
*grsync-0.6.1 (22 Jan 2008)
diff --git a/x11-misc/grsync/files/session-crash.patch b/x11-misc/grsync/files/session-crash.patch
new file mode 100644
index 000000000000..0adff7e07fd5
--- /dev/null
+++ b/x11-misc/grsync/files/session-crash.patch
@@ -0,0 +1,11 @@
+diff -Naurp grsync-0.6.1.orig/src/callbacks.c grsync-0.6.1/src/callbacks.c
+--- grsync-0.6.1.orig/src/callbacks.c 2007-11-09 17:10:42.000000000 +0000
++++ grsync-0.6.1/src/callbacks.c 2008-02-23 07:40:33.000000000 +0000
+@@ -892,6 +892,7 @@ void on_session_add_clicked(GtkButton *b
+
+ save_settings((GtkWidget*) button, newses, NULL);
+ session_number++;
++ session_last = -1;
+ load_groups((GtkWidget*) button, newses);
+ }
+ gtk_widget_destroy(add);
diff --git a/x11-misc/grsync/grsync-0.6.1.ebuild b/x11-misc/grsync/grsync-0.6.1-r1.ebuild
index 118067dd51cf..492ff4071d93 100644
--- a/x11-misc/grsync/grsync-0.6.1.ebuild
+++ b/x11-misc/grsync/grsync-0.6.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/grsync/grsync-0.6.1.ebuild,v 1.1 2008/01/22 15:55:41 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/grsync/grsync-0.6.1-r1.ebuild,v 1.1 2008/05/02 19:24:00 dertobi123 Exp $
inherit eutils gnome2 autotools
@@ -19,4 +19,10 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-util/intltool"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/session-crash.patch
+}
+
DOCS="AUTHORS NEWS README"