summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2014-01-10 20:54:21 +0000
committerPacho Ramos <pacho@gentoo.org>2014-01-10 20:54:21 +0000
commit3a0463d7c7470c1b968b3a76420251c7f7f50ace (patch)
tree3184f8915ccc6e2ec41b217b72bd05260a5bc8a5 /gnome-extra/seahorse-nautilus/files
parentFix dep on libusb introspection when needed (#497644 by Emile), drop old (diff)
downloadgentoo-2-3a0463d7c7470c1b968b3a76420251c7f7f50ace.tar.gz
gentoo-2-3a0463d7c7470c1b968b3a76420251c7f7f50ace.tar.bz2
gentoo-2-3a0463d7c7470c1b968b3a76420251c7f7f50ace.zip
Fix glib warning that was causing seahorse-tool to not work properly (#497708 by Paolo Stivanin)
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'gnome-extra/seahorse-nautilus/files')
-rw-r--r--gnome-extra/seahorse-nautilus/files/seahorse-nautilus-3.8.0-glib-warning.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnome-extra/seahorse-nautilus/files/seahorse-nautilus-3.8.0-glib-warning.patch b/gnome-extra/seahorse-nautilus/files/seahorse-nautilus-3.8.0-glib-warning.patch
new file mode 100644
index 000000000000..de422399d0cf
--- /dev/null
+++ b/gnome-extra/seahorse-nautilus/files/seahorse-nautilus-3.8.0-glib-warning.patch
@@ -0,0 +1,26 @@
+From c41f07cf5785b2d755b85f20bf0546c6ce2ebb02 Mon Sep 17 00:00:00 2001
+From: Stef Walter <stefw@redhat.com>
+Date: Fri, 16 Aug 2013 17:24:11 +0000
+Subject: Add correct flag for reaping the progress child
+
+This fixes the WARNING about ECHILD that comes from some versions
+of glib. The WARNING was removed in later versions of glib, but this
+is also a good fix.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=697895
+---
+diff --git a/tool/seahorse-tool-progress.c b/tool/seahorse-tool-progress.c
+index 613e82f..c039118 100644
+--- a/tool/seahorse-tool-progress.c
++++ b/tool/seahorse-tool-progress.c
+@@ -217,7 +217,7 @@ seahorse_tool_progress_start (const gchar *title)
+ argv[2] = (gchar *)title;
+ argv[3] = NULL;
+
+- ret = g_spawn_async_with_pipes (NULL, argv, NULL, G_SPAWN_STDOUT_TO_DEV_NULL | G_SPAWN_SEARCH_PATH,
++ ret = g_spawn_async_with_pipes (NULL, argv, NULL, G_SPAWN_STDOUT_TO_DEV_NULL | G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD,
+ NULL, NULL, &progress_pid, &progress_fd, NULL, NULL, &err);
+
+ if (!ret) {
+--
+cgit v0.9.2