commit: 85ae38056b4c42f99e76210d844cf994cca7bd5a Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz> AuthorDate: Thu Oct 6 15:06:04 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Oct 7 11:28:14 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85ae3805
app-misc/dvtm: fix implicit function declaration issue This commit patches the gentoo patch in such a way that compiler will search for curses.h in ncrusesw directory where addnwstr function is located. Closes: https://bugs.gentoo.org/870526 Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz> Signed-off-by: Sam James <sam <AT> gentoo.org> app-misc/dvtm/files/dvtm-0.15-gentoo.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app-misc/dvtm/files/dvtm-0.15-gentoo.patch b/app-misc/dvtm/files/dvtm-0.15-gentoo.patch index 3bb7dec3721f..22a3fe4ebf34 100644 --- a/app-misc/dvtm/files/dvtm-0.15-gentoo.patch +++ b/app-misc/dvtm/files/dvtm-0.15-gentoo.patch @@ -1,6 +1,6 @@ --- a/config.mk +++ b/config.mk -@@ -10,12 +10,12 @@ +@@ -10,12 +10,13 @@ MANPREFIX = ${PREFIX}/share/man TERMINFO := ${DESTDIR}${PREFIX}/share/terminfo INCS = -I. @@ -8,6 +8,7 @@ -CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED +LIBS = -lc -lutil $(shell $(PKG_CONFIG) --libs ncursesw) +CPPFLAGS += -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED ++CPPFLAGS += $(shell $(PKG_CONFIG) --cflags ncursesw) CFLAGS += -std=c99 ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG ${CPPFLAGS} LDFLAGS += ${LIBS} @@ -18,7 +19,7 @@ STRIP ?= strip --- a/Makefile +++ b/Makefile -@@ -16,13 +16,13 @@ +@@ -16,13 +16,13 @@ config.h: .c.o: @echo CC $<