-
Notifications
You must be signed in to change notification settings - Fork 37
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
xsel.c:372:14: error: 'fork' is deprecated: Use posix_spawn or fork #42
Comments
This seems to be with the macro generated by autoconf in config.h?
This is renaming So it seems that there's a number of options?
|
derekschrock
added a commit
to derekschrock/macports-ports
that referenced
this issue
Nov 21, 2021
* disable check for autoconf AC_FUNC_FORK vfork checking caching to yes. * AC_FUNC_FORK will create a `#define vfork fork` macro in config.h * vfork has been mark depercated in macOS 12. * This macro will mark fork() usage as depercated due to config.h being included before system header <unistd.h>. Re: kfish/xsel#42 Closes: https://trac.macports.org/ticket/63748
11 tasks
ra1nb0w
pushed a commit
to macports/macports-ports
that referenced
this issue
Dec 4, 2021
* disable check for autoconf AC_FUNC_FORK vfork checking caching to yes. * AC_FUNC_FORK will create a `#define vfork fork` macro in config.h * vfork has been mark depercated in macOS 12. * This macro will mark fork() usage as depercated due to config.h being included before system header <unistd.h>. Re: kfish/xsel#42 Closes: https://trac.macports.org/ticket/63748
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
xsel 1.2.0 does not build on macOS Monterey. The error is:
This was reported to MacPorts here.
The text was updated successfully, but these errors were encountered: