! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
GNU/Hurd support
Status:
RESOLVED: DUPLICATE
Severity:
enhancement
Product:
Xfce4-fsguard-plugin
Component:
General

Comments

Description Pino Toscano 2011-09-05 15:23:27 CEST
Created attachment 3851 
GNU/Hurd compilation fix

Currently xfce4-fsguard-plugin does not compile on GNU/Hurd, as there is no header included for statfs().
The attached patch (which work for both 1.0.0 and current Git) includes <sys/statfs.h> on GNU/Hurd, making this plugin compile.
Comment 1 Mike Massonnet editbugs 2011-09-05 19:47:38 CEST
Cool, can you confirm it works in addition of compiling?
Comment 2 Pino Toscano 2011-09-05 22:28:16 CEST
(In reply to comment #1)
> Cool, can you confirm it works in addition of compiling?

Unfortunately I cannot at the moment, but I see nothing wrong in the only OS-specific bit of code of the applet (i.e. fsguard_check_fs()).
Comment 3 Landry Breuil editbugs 2012-05-04 16:00:52 CEST
It seems there's a better fix in #8820..

*** This bug has been marked as a duplicate of bug 8820 ***

Bug #7955

Reported by:
Pino Toscano
Reported on: 2011-09-05
Last modified on: 2012-05-04

People

Assignee:
Florian Rivoal
CC List:
1 user

Version

Attachments

GNU/Hurd compilation fix (311 bytes, patch)
2011-09-05 15:23 CEST , Pino Toscano
no flags

Additional information