-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Lynx ncurses fix for Big Sur #58019
Lynx ncurses fix for Big Sur #58019
Conversation
Our CI is designed for one-formula-per-PR, unfortunately. Would you mind splitting your PR? |
To add some context to this, it looks like something has changed in Big Sur (believe this is not Apple Silicon specific) where packages that use I'm no expert in this, but I think maybe packages are looking for |
Oh sorry I created a branch from a branch I was working on already rather than master! I'll force push and remove that erroneous commit |
I’d rather we figure out exactly why this is happening and see if a common fix in brew can be applied. The OpenSSL pkg-config change shouldn’t be required either. |
I have had a poke with other formulas that also use As For now I would say just patching the formula is fine as a fix for the time spent and the impact of this issue. The reason I could think of is what I mentioned previously, but there is no supporting information for this from what I can find. If it becomes a huge issue, then it may be worth investigating the time to find out what is causing it.
I didn't require this locally, but it was required to get the checks to pass on this PR @claui found this (I'm not exactly sure why this happens) #57871 (comment) |
After a couple of debug printouts in In line 18945, #line 18946 "configure"
#include "confdefs.h"
#include <${cf_header}>
int
main (void)
{
initscr(); tgoto("?", 0,0)
;
return 0;
} But the probe no longer compiles on macOS 11.0, even though the curses headers are there: configure:18951:12: error: implicit declaration of function 'tgoto' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
initscr(); tgoto("?", 0,0)
^
1 error generated. The compile failure then sets off a false alarm, and |
Not entirely sure why it's being baked in the binary. I'll poke around. |
@claui Ah yes, |
For the shim thing try |
@Bo98 Thanks, will give that a go 🙂 Should we leave a comment in the Formula pointing to this PR for future reference regarding the |
Sure, might as well. |
Looks like this works now 🎉 |
Thanks! |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?Resolves #57871 (comment)