openbsd-ports/devel/gconf2/patches/patch-gconf_gconftool_c
ajacoutot 4cfb86d9a4 Redirect stderr to /dev/null for the pkill(1) exec.
That is needed because one may want to install packages while running
on a ramdisk kernel which does not have kvm_getproc2().

discussed with robert@
2010-11-14 14:16:43 +00:00

17 lines
525 B
Plaintext

$OpenBSD: patch-gconf_gconftool_c,v 1.11 2010/11/14 14:16:43 ajacoutot Exp $
https://bugzilla.gnome.org/show_bug.cgi?id=328697
(patch from Fedora)
--- gconf/gconftool.c.orig Sat Oct 24 11:30:21 2009
+++ gconf/gconftool.c Sat Oct 24 11:32:58 2009
@@ -4082,6 +4082,8 @@ do_makefile_install(GConfEngine* conf, const gchar** a
++args;
}
+ g_spawn_command_line_sync ("/usr/bin/pkill -TERM -f " GCONF_SERVERDIR "/" GCONFD "2>/dev/null", NULL, NULL, NULL, NULL);
+
retval |= do_sync (conf);
return retval;
}