dev-lang/fbc-bootstrap: add 1.10.1

Closes: https://bugs.gentoo.org/799860
Closes: https://bugs.gentoo.org/932355
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
Takuya Wakazono
2024-11-11 18:06:05 +09:00
parent db9b3fea72
commit 9737eb316e
3 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
https://github.com/freebasic/fbc/issues/170
https://bugs.gentoo.org/799860
--- a/makefile
+++ b/makefile
@@ -1409,10 +1409,10 @@ endif
# Use gcc to link fbc from the bootstrap .o's
# (assuming the rtlib was built already)
ifneq ($(filter darwin freebsd dragonfly linux netbsd openbsd solaris,$(TARGET_OS)),)
- BOOTSTRAP_LIBS := -lncurses -lm -pthread
+ BOOTSTRAP_LIBS := -ltinfo -lncurses -lm -pthread
endif
$(BOOTSTRAP_FBC): rtlib $(BOOTSTRAP_OBJ)
- $(QUIET_LINK)$(CC) -o $@ $(libdir)/fbrt0.o bootstrap/$(FBTARGET)/*.o $(libdir)/libfb.a $(BOOTSTRAP_LIBS)
+ $(QUIET_LINK)$(CC) -o $@ $(libdir)/fbrt0.o bootstrap/$(FBTARGET)/*.o $(libdir)/libfb.a $(BOOTSTRAP_LIBS) $(LDFLAGS)
.PHONY: clean-bootstrap
clean-bootstrap: