-
Notifications
You must be signed in to change notification settings - Fork 131
414 lts freebsd #1466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 414-LTS
Are you sure you want to change the base?
414 lts freebsd #1466
Conversation
I don't have knowledge about that part of the code yet or inotify usage and behavior. Do you think you could take some time to explain what is happening here in more details and what is the later impact of not having I don't mind merging these changes on your behalf if you tested them thoroughly, but I would like to understand a bit better what is at stake. Also, is there a reason why this patch is specific to the 4.14 branch ? |
Hi @voodoos,
the front and foremost consequences are
The strange thing is, that inotify is present in general but not the init function in the missing (linux) header. I however am not familiar with the inner workings of inotify nor header file layout an FreeBSD nor Linux and the differences. To sum up
Does that clarify? |
I just learned $ fgrep _init /usr/local/include/sys/inotify.h
/* Flags for the parameter of inotify_init1. */
int inotify_init (void) __THROW;
int inotify_init1 (int flags) __THROW;
* IN_DIRECT to inotify_init1(). so it may well be the But I am not familiar with the build system to make this an easy fix. @jonahbeckford may know better: https://lists.schmorp.de/pipermail/libev/2025q1/002943.html. |
I'm not sure of the connection. But yes, it really does seem that /usr/local/include needs to be in the include path. |
awesome @jonahbeckford - @voodoos does that help? |
Hi @voodoos, |
Yes, contribution are welcome ! I am reticent to merge this PR because I feel like it is not the best way to fix that issue, while not being able to justify it due to my lack of knowledge on that subject. I am also surprised that no other freebsd user has complained so far... However, I it works for you and you have been using it without issues during the last few weeks, then I'm willing to merge it on your behalf and see how it goes. Could you add a changelog entry ? |
fixes #1459