summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-06-03 19:13:02 +0000
committerminskim <minskim@pkgsrc.org>2004-06-03 19:13:02 +0000
commita9013884881ff5f0f456517a2bd948ba4b5d2b46 (patch)
treeb43f294db79e510d693fc480a64ff5ae7ba9d727 /chat
parent4f6b0533094327ba4d213ae0131ca5d74e1e5463 (diff)
downloadpkgsrc-a9013884881ff5f0f456517a2bd948ba4b5d2b46.tar.gz
Add a workaround for a GTK+ bug (GNOME bugzilla #62948). Patch
borrowed from Gentoo Portage. OK'ed by jmmv@. Bump PKGREVISION.
Diffstat (limited to 'chat')
-rw-r--r--chat/gaim/Makefile3
-rw-r--r--chat/gaim/distinfo3
-rw-r--r--chat/gaim/patches/patch-aa18
3 files changed, 22 insertions, 2 deletions
diff --git a/chat/gaim/Makefile b/chat/gaim/Makefile
index b2a9565de41..fbd2b81d02f 100644
--- a/chat/gaim/Makefile
+++ b/chat/gaim/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.61 2004/06/01 21:00:59 jmmv Exp $
+# $NetBSD: Makefile,v 1.62 2004/06/03 19:13:02 minskim Exp $
#
DISTNAME= gaim-0.78
+PKGREVISION= 1
CATEGORIES= chat x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gaim/}
EXTRACT_SUFX= .tar.bz2
diff --git a/chat/gaim/distinfo b/chat/gaim/distinfo
index 2ce8c945768..eddebb4b373 100644
--- a/chat/gaim/distinfo
+++ b/chat/gaim/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.42 2004/06/01 21:00:59 jmmv Exp $
+$NetBSD: distinfo,v 1.43 2004/06/03 19:13:02 minskim Exp $
SHA1 (gaim-0.78.tar.bz2) = 017b596f2a8618fe7e6c5800f2c2589dce18ba19
Size (gaim-0.78.tar.bz2) = 4219726 bytes
+SHA1 (patch-aa) = 24f1b21042df5c7706dcf3def37e10943acdd39e
diff --git a/chat/gaim/patches/patch-aa b/chat/gaim/patches/patch-aa
new file mode 100644
index 00000000000..53b23f7afab
--- /dev/null
+++ b/chat/gaim/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.22 2004/06/03 19:13:02 minskim Exp $
+
+Workaround for http://bugzilla.gnome.org/show_bug.cgi?id=62948
+
+--- src/gtkconv.c.orig 2004-05-30 11:44:45.000000000 -0500
++++ src/gtkconv.c
+@@ -1478,6 +1478,11 @@ entry_key_press_cb(GtkWidget *entry, Gdk
+ if (!(event->state & (GDK_SHIFT_MASK | GDK_CONTROL_MASK)) &&
+ gaim_prefs_get_bool("/gaim/gtk/conversations/enter_sends"))
+ {
++ if (gtk_im_context_filter_keypress (GTK_TEXT_VIEW (entry)->im_context, event))
++ {
++ GTK_TEXT_VIEW (entry)->need_im_reset = TRUE;
++ return TRUE;
++ }
+ send_cb(NULL, conv);
+ return TRUE;
+ }