Bug 31963

Summary: fails to build on (k)freebsd : sys/signalfd.h: No such file or directory
Product: PolicyKit Reporter: Michael Biebl <mbiebl>
Component: daemonAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED FIXED QA Contact: David Zeuthen (not reading bugmail) <zeuthen>
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Allow building on Non-Linux platforms without signalfd()

Description Michael Biebl 2010-11-28 17:46:35 UTC
Version: 0.99

Since version 0.99, policykit fails to build on (k)freebsd, as it uses signalfd unconditionally.

The Debian bug report is 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602476

The complete build log
https://buildd.debian.org/fetch.cgi?pkg=policykit-1&arch=kfreebsd-amd64&ver=0.99-1&stamp=1288927440&file=log&as=raw
Comment 1 Martin Pitt 2010-12-06 07:15:14 UTC
Created attachment 40833 [details] [review]
Allow building on Non-Linux platforms without signalfd()

I tested this by temporarily moving away my sys/signalfd.h. This gracefully handles the inavailabilty and keeps the current behaviour on Linux.
Comment 2 David Zeuthen (not reading bugmail) 2011-02-23 09:03:49 UTC
I just fixed this in another way:

 http://cgit.freedesktop.org/PolicyKit/commit/?id=02155a23eb27715d5d1d73c8ed1af417d1579bf5

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.