diff options
author | Petr Vaněk <arkamar@atlas.cz> | 2022-10-06 16:48:08 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-07 12:28:13 +0100 |
commit | a3802cca42a3caed4985a42abf9d6b1087bd82cd (patch) | |
tree | 0af5a4edd858778a13b12c53ad59996bb4c42f29 /app-misc | |
parent | app-misc/dvtm: remove unused local variable (diff) | |
download | gentoo-a3802cca42a3caed4985a42abf9d6b1087bd82cd.tar.gz gentoo-a3802cca42a3caed4985a42abf9d6b1087bd82cd.tar.bz2 gentoo-a3802cca42a3caed4985a42abf9d6b1087bd82cd.zip |
app-misc/dvtm: sync live
- EAPI bump to 8
- sync keywords with 0.15-r5
- sync stop-installing-terminfo patch with upstream
- modification of 9999-gentoo.patch which fixes bug 870526 because
addnwstr function is defined in ncursesw.
Bug: https://bugs.gentoo.org/870526
Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/dvtm/dvtm-9999.ebuild | 6 | ||||
-rw-r--r-- | app-misc/dvtm/files/dvtm-9999-gentoo.patch | 3 | ||||
-rw-r--r-- | app-misc/dvtm/files/dvtm-9999-stop-installing-terminfo.patch | 11 |
3 files changed, 16 insertions, 4 deletions
diff --git a/app-misc/dvtm/dvtm-9999.ebuild b/app-misc/dvtm/dvtm-9999.ebuild index 4874e768efea..6d6d4cf72673 100644 --- a/app-misc/dvtm/dvtm-9999.ebuild +++ b/app-misc/dvtm/dvtm-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 inherit savedconfig toolchain-funcs @@ -17,7 +17,7 @@ if [[ ${PV} == *9999 ]]; then " else SRC_URI="https://www.brain-dump.org/projects/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" fi LICENSE="MIT" @@ -30,7 +30,7 @@ DEPEND=" " PATCHES=( "${FILESDIR}"/${PN}-9999-gentoo.patch - "${FILESDIR}"/${PN}-0.15-stop-installing-terminfo.patch + "${FILESDIR}"/${PN}-9999-stop-installing-terminfo.patch ) src_prepare() { diff --git a/app-misc/dvtm/files/dvtm-9999-gentoo.patch b/app-misc/dvtm/files/dvtm-9999-gentoo.patch index f29e316c3e5c..8e74b7cb079c 100644 --- a/app-misc/dvtm/files/dvtm-9999-gentoo.patch +++ b/app-misc/dvtm/files/dvtm-9999-gentoo.patch @@ -1,6 +1,6 @@ --- a/config.mk +++ b/config.mk -@@ -7,8 +7,8 @@ +@@ -7,8 +7,9 @@ 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} -DNDEBUG ${CPPFLAGS} CC ?= cc diff --git a/app-misc/dvtm/files/dvtm-9999-stop-installing-terminfo.patch b/app-misc/dvtm/files/dvtm-9999-stop-installing-terminfo.patch new file mode 100644 index 000000000000..da730d36663e --- /dev/null +++ b/app-misc/dvtm/files/dvtm-9999-stop-installing-terminfo.patch @@ -0,0 +1,11 @@ +--- a/Makefile ++++ b/Makefile +@@ -50,8 +50,6 @@ install: all + sed -e "s/VERSION/${VERSION}/" < "$$m" > "${DESTDIR}${MANPREFIX}/man1/$$m" && \ + chmod 644 "${DESTDIR}${MANPREFIX}/man1/$$m"; \ + done +- @echo installing terminfo description +- @TERMINFO=${TERMINFO} tic -s dvtm.info + + uninstall: + @for b in ${BIN}; do \ |