aboutsummaryrefslogtreecommitdiff
path: root/x11/tilda
diff options
context:
space:
mode:
authorRodrigo Osorio <rodrigo@FreeBSD.org>2015-02-23 23:20:56 +0000
committerRodrigo Osorio <rodrigo@FreeBSD.org>2015-02-23 23:20:56 +0000
commit3a9189625f3e0f7052c60edbc3b90e488310dc2d (patch)
treeafdf52843ba1f295db9f17b5d599cce08fa4d9c6 /x11/tilda
parent75057c76601aca1a4dbc481c9e306b77924608ec (diff)
downloadports-3a9189625f3e0f7052c60edbc3b90e488310dc2d.tar.gz
ports-3a9189625f3e0f7052c60edbc3b90e488310dc2d.zip
Fix segfault with tilda
Bump port revision PR: 197819 Submitted by: <mzs_47@yahoo.co.in> Obtained from: mandriva
Notes
Notes: svn path=/head/; revision=379716
Diffstat (limited to 'x11/tilda')
-rw-r--r--x11/tilda/Makefile2
-rw-r--r--x11/tilda/files/patch-key_grabber.c15
2 files changed, 16 insertions, 1 deletions
diff --git a/x11/tilda/Makefile b/x11/tilda/Makefile
index 33d77cf6f2f5..2a13b2f51397 100644
--- a/x11/tilda/Makefile
+++ b/x11/tilda/Makefile
@@ -2,7 +2,7 @@
PORTNAME= tilda
PORTVERSION= 0.9.6
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= x11
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
diff --git a/x11/tilda/files/patch-key_grabber.c b/x11/tilda/files/patch-key_grabber.c
new file mode 100644
index 000000000000..ae99d9867401
--- /dev/null
+++ b/x11/tilda/files/patch-key_grabber.c
@@ -0,0 +1,15 @@
+diff --git a/src/key_grabber.c b/src/key_grabber.c
+index 8c9e67c..b4ca786 100644
+--- src/key_grabber.c
++++ src/key_grabber.c
+@@ -190,8 +190,8 @@ void pull (struct tilda_window_ *tw, enum pull_state state)
+ * Overriding the user time here seems to work a lot better than calling
+ * gtk_window_present_with_time() here, or at the end of the function. I have
+ * no idea why, they should do the same thing. */
+- gdk_x11_window_set_user_time (GTK_WIDGET(tw->window)->window,
+- tomboy_keybinder_get_current_event_time());
++ /*gdk_x11_window_set_user_time (GTK_WIDGET(tw->window)->window,
++ tomboy_keybinder_get_current_event_time());*/
+ gtk_window_move (GTK_WINDOW(tw->window), config_getint ("x_pos"), config_getint ("y_pos"));
+ gtk_widget_show (GTK_WIDGET(tw->window));
+