diff options
Diffstat (limited to 'app-misc/boxes/files')
-rw-r--r-- | app-misc/boxes/files/boxes-2.2.0-fix-clang16-build.patch | 15 | ||||
-rw-r--r-- | app-misc/boxes/files/boxes-2.3.0-ncurses-gentoo.patch | 15 |
2 files changed, 15 insertions, 15 deletions
diff --git a/app-misc/boxes/files/boxes-2.2.0-fix-clang16-build.patch b/app-misc/boxes/files/boxes-2.2.0-fix-clang16-build.patch deleted file mode 100644 index 38be8e1ede81..000000000000 --- a/app-misc/boxes/files/boxes-2.2.0-fix-clang16-build.patch +++ /dev/null @@ -1,15 +0,0 @@ -change function prototype to work with c2x standard. Build fails with clang16 without this - -See: https://github.com/ascii-boxes/boxes/issues/106 - ---- a/src/remove.h -+++ b/src/remove.h -@@ -22,7 +22,7 @@ - - - int remove_box(); --void output_input(); -+void output_input(const int trim_only); - - - #endif /*REMOVE_H*/ diff --git a/app-misc/boxes/files/boxes-2.3.0-ncurses-gentoo.patch b/app-misc/boxes/files/boxes-2.3.0-ncurses-gentoo.patch new file mode 100644 index 000000000000..38e7117592e4 --- /dev/null +++ b/app-misc/boxes/files/boxes-2.3.0-ncurses-gentoo.patch @@ -0,0 +1,15 @@ +Gentoo splits ncurses into several independent libraries. Therefore this needs to be linked with more than just -lncurses. + +Pascal Jäger <pascal.jaeger@leimstift.de> (2024-02-19) + +--- a/src/Makefile ++++ b/src/Makefile +@@ -64,7 +64,7 @@ debug: flags_$(BOXES_PLATFORM) | $(OUT_DIR) + CFLAGS_ADDTL="-ggdb3 $(CFLAGS_ADDTL)" flags_$(BOXES_PLATFORM) $(BOXES_EXECUTABLE_NAME) + + boxes: $(ALL_OBJ) | check_dir +- $(CC) $(LDFLAGS) $^ -o $@ -lunistring -lpcre2-32 -lncurses ++ $(CC) $(LDFLAGS) $^ -o $@ -lunistring -lpcre2-32 $(shell pkg-config --libs ncurses) + if [ "$(STRIP)" = "true" ] ; then strip $@ ; fi + + boxes.static: $(ALL_OBJ) | check_dir |