Bug 27081

Summary: polkit 0.96: pkexec fails to build on non glibc systems
Product: PolicyKit Reporter: Alexis Ballier <aballier>
Component: daemonAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED FIXED QA Contact: David Zeuthen (not reading bugmail) <zeuthen>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: use getcwd instead of get_current_dir_name

Description Alexis Ballier 2010-03-15 01:06:32 UTC
Created attachment 34054 [details] [review]
use getcwd instead of get_current_dir_name

pkexec.c uses get_current_dir_name when we have getcwd in POSIX specs; this causes polkit not to build on, eg, FreeBSD. Here is a patch to fix that.
Comment 1 David Zeuthen (not reading bugmail) 2011-02-23 05:40:22 UTC
I committed another patch to fix this: http://cgit.freedesktop.org/PolicyKit/commit/?id=401d710a0c98f4011c3cf777677f96250bef9008

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.