1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Actually commit theis patch to allow 0.96 to build.

Reminded by:	QAT
This commit is contained in:
Joe Marcus Clarke 2010-01-18 19:52:15 +00:00
parent 90f3b8441a
commit a7c2961120
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248112

View File

@ -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");