| Summary: | beagle fails to compile on FreeBSD | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Roy Marples (RETIRED) <uberlord> |
| Component: | New packages | Assignee: | Cédric Krier <cedk> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | FreeBSD | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 176517 | ||
| Attachments: |
Only include <linux/foo.h> for linux systems
Remove support for posix_fadvise |
||
|
Description
Roy Marples (RETIRED)
2007-05-01 11:46:00 UTC
Created attachment 117835 [details, diff]
Only include <linux/foo.h> for linux systems
Created attachment 119018 [details, diff]
Remove support for posix_fadvise
This FreeBSD specific patch is also needed as our libc does not have posix_fadvise and rapidly fills the beagle logs with this error. I only spotted it because I ran out of space!
This patch was taken from FreeBSD ports.
I don't know if it's possible in C# to #ifdef around it as if we could then the patch wouldn't be OS specific like it is now :/
(In reply to comment #2) > I don't know if it's possible in C# to #ifdef around it as if we could then the > patch wouldn't be OS specific like it is now :/ It is. C# doesn't have a full-fledged macro preprocessor as C/C++, but it supports conditional compilation. For all the gory details see section 9.5 of ECMA-334. Roy there's any bug open on upstream bugzilla ? If not i'll open one to fix this. No, I've not sent this upstream as it's an OS conditional patch. IE, upstream won't accept it as it stands, hence my call for help in making it unconditional :) Is it work now with 0.3.6 ? |