From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/gkdial/gkdial-1.8.1/gkdial-gpe-su.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 recipes/gkdial/gkdial-1.8.1/gkdial-gpe-su.patch (limited to 'recipes/gkdial/gkdial-1.8.1/gkdial-gpe-su.patch') diff --git a/recipes/gkdial/gkdial-1.8.1/gkdial-gpe-su.patch b/recipes/gkdial/gkdial-1.8.1/gkdial-gpe-su.patch new file mode 100644 index 0000000000..0be396f389 --- /dev/null +++ b/recipes/gkdial/gkdial-1.8.1/gkdial-gpe-su.patch @@ -0,0 +1,22 @@ +--- gkdial-1.8.1.orig/src/util.c 2003-06-27 22:30:29.000000000 +0200 ++++ gkdial-1.8.1/src/util.c 2004-06-18 16:57:43.000000000 +0200 +@@ -336,13 +336,13 @@ + gint a; + pid_t pid; + gchar **command; ++ gchar *fcmd = g_strdup_printf("%s > /dev/null 2>&1",cmd); + +- command = g_malloc (sizeof (gchar *) * 5); +- command[0] = g_strdup ("/usr/bin/gksu"); +- command[1] = g_strdup ("-m"); +- command[2] = g_strdup (msg); +- command[3] = g_strdup (cmd); +- command[4] = NULL; ++ command = g_malloc (sizeof (gchar *) * 4); ++ command[0] = g_strdup (PREFIX "/bin/gpe-su"); ++ command[1] = g_strdup ("-c"); ++ command[2] = fcmd; ++ command[3] = NULL; + + pid = fork (); + if (pid == 0) -- cgit v1.2.3