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:
parent
90f3b8441a
commit
a7c2961120
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248112
11
sysutils/polkit/files/patch-src_programs_pkexec.c
Normal file
11
sysutils/polkit/files/patch-src_programs_pkexec.c
Normal 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");
|
Loading…
Reference in New Issue
Block a user