From a7c2961120d5e78847c61e0e2fb057e672854c41 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Mon, 18 Jan 2010 19:52:15 +0000 Subject: [PATCH] Actually commit theis patch to allow 0.96 to build. Reminded by: QAT --- sysutils/polkit/files/patch-src_programs_pkexec.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sysutils/polkit/files/patch-src_programs_pkexec.c diff --git a/sysutils/polkit/files/patch-src_programs_pkexec.c b/sysutils/polkit/files/patch-src_programs_pkexec.c new file mode 100644 index 000000000000..620ebae15918 --- /dev/null +++ b/sysutils/polkit/files/patch-src_programs_pkexec.c @@ -0,0 +1,11 @@ +--- src/programs/pkexec.c.orig 2010-01-18 02:52:40.000000000 -0500 ++++ src/programs/pkexec.c 2010-01-18 03:06:57.000000000 -0500 +@@ -438,7 +438,7 @@ main (int argc, char *argv[]) + goto out; + } + +- original_cwd = g_strdup (get_current_dir_name ()); ++ original_cwd = g_strdup (getcwd (NULL, 0)); + if (original_cwd == NULL) + { + g_printerr ("Error getting cwd.\n");