-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
gptfdisk 1.0.7 #76593
gptfdisk 1.0.7 #76593
Conversation
|
Looks like they switched from looking for |
Signed-off-by: Rui Chen <rui@chenrui.dev>
2f932a5
to
99a71c5
Compare
# $(CXX) $(LIB_OBJS) -L/usr/lib -licucore gpttext.o gdisk.o -o gdisk | ||
|
||
cgdisk: $(LIB_OBJS) cgdisk.o gptcurses.o | ||
- $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o /usr/lib/libncurses.dylib $(LDFLAGS) $(FATBINFLAGS) -o cgdisk | ||
+ $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o -L/usr/lib -lncurses $(LDFLAGS) $(FATBINFLAGS) -o cgdisk | ||
- $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o /usr/local/Cellar/ncurses/6.2/lib/libncurses.dylib $(LDFLAGS) -o cgdisk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't this link to the opt_prefix
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both the previous diff (used in v1.0.6) and new diff here (v1.0.7) are patching Makefile to use macOS ncurses
, corresponding to the uses_from_macos "ncurses"
In this case, the diff is doing:
/usr/local/Cellar/ncurses/6.2/lib/libncurses.dylib
==> -L/usr/lib -lncurses
The alternative would be to use Homebrew's ncurses
along with corresponding path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Damned, misread the patch. + -
at the start of the line is confusing
🤖 A scheduled task has triggered a merge. |
Created with
brew bump-formula-pr
.