aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/polkit/files
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2010-01-19 03:52:15 +0800
committermarcus <marcus@FreeBSD.org>2010-01-19 03:52:15 +0800
commited9e8530f981b866ca98869a9e69eb7c983b8049 (patch)
treec1f21a3128b40e4a379a8aa7cf947b4189bc2573 /sysutils/polkit/files
parent9695c79ced119cf317d3040dc5b734c0f7ab0403 (diff)
downloadfreebsd-ports-gnome-ed9e8530f981b866ca98869a9e69eb7c983b8049.tar.gz
freebsd-ports-gnome-ed9e8530f981b866ca98869a9e69eb7c983b8049.tar.zst
freebsd-ports-gnome-ed9e8530f981b866ca98869a9e69eb7c983b8049.zip
Actually commit theis patch to allow 0.96 to build.
Reminded by: QAT
Diffstat (limited to 'sysutils/polkit/files')
-rw-r--r--sysutils/polkit/files/patch-src_programs_pkexec.c11
1 files changed, 11 insertions, 0 deletions
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");