commit: 89eb9529b9fbcb41e17237d121a1c3d660d24719 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Fri Mar 1 17:00:15 2019 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Fri Mar 1 19:03:48 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89eb9529
app-editors/bvi: remove unused patch(es) Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/11183 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../bvi/files/bvi-1.3.2-fix-buffer-overflow.patch | 22 -------------- app-editors/bvi/files/bvi-1.3.2-tinfo.patch | 35 ---------------------- 2 files changed, 57 deletions(-) diff --git a/app-editors/bvi/files/bvi-1.3.2-fix-buffer-overflow.patch b/app-editors/bvi/files/bvi-1.3.2-fix-buffer-overflow.patch deleted file mode 100644 index e3ebaa3d129..00000000000 --- a/app-editors/bvi/files/bvi-1.3.2-fix-buffer-overflow.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/edit.c b/edit.c -index 328a0cd..3cf6572 100644 ---- a/edit.c -+++ b/edit.c -@@ -42,7 +42,7 @@ char contru[][4] = {"NUL", "SOH", "STX", "ETX", "EOT", "ENQ", "ACK", "BEL", - "CAN", " EM", "SUB", "ESC", " FS", " GS", " RS", " US", - "DEL" }; - char tmpbuf[10]; --char linbuf[256]; -+char linbuf[16384]; - - static char getcbuff[BUFFER]; - static char *getcnext = NULL; -@@ -492,7 +492,7 @@ printline(mempos, scpos) - *(string + print_pos) = '.'; - } - *(string + Anzahl) = '\0'; -- strcat(linbuf, string); -+ strncat(linbuf, string, sizeof(linbuf) - strlen(linbuf) - 1); - mvaddstr(scpos, 0, linbuf); - } - diff --git a/app-editors/bvi/files/bvi-1.3.2-tinfo.patch b/app-editors/bvi/files/bvi-1.3.2-tinfo.patch deleted file mode 100644 index b00c8881150..00000000000 --- a/app-editors/bvi/files/bvi-1.3.2-tinfo.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff --git a/configure.in b/configure.in -index 68076d8..81da696 100644 ---- a/configure.in -+++ b/configure.in -@@ -58,17 +58,19 @@ AC_ARG_WITH(ncurses, - fi - ]) - --AC_CHECK_HEADER(ncurses.h, -- AC_CHECK_LIB(ncurses, initscr, -- AC_DEFINE(HAVE_NCURSES_H) LIBS="${LIBS} -lncurses", -- AC_CHECK_LIB(curses, initscr, -- AC_DEFINE(HAVE_CURSES_H) LIBS="${LIBS} -lcurses", -- AC_MSG_ERROR([bvi requires the curses library]))), -- AC_CHECK_HEADER(curses.h, -- AC_CHECK_LIB(curses, initscr, -- AC_DEFINE(HAVE_CURSES_H) LIBS="${LIBS} -lcurses", -- AC_MSG_ERROR([bvi requires the curses library])), -- AC_MSG_ERROR([bvi requires the curses library]))) -+AC_CHECK_HEADER([ncurses.h],[ -+ AC_SEARCH_LIBS([initscr], [ncurses],[ -+ AC_DEFINE(HAVE_NCURSES_H) -+ AC_SEARCH_LIBS([tputs], [tinfo])], [ -+ AC_SEARCH_LIBS([initscr], [curses],[ -+ AC_DEFINE(HAVE_CURSES_H) -+ AC_SEARCH_LIBS([tputs], [tinfo])],[ -+ AC_MSG_ERROR([bvi requires the curses library])])])],[ -+ AC_CHECK_HEADER([curses.h],[ -+ AC_SEARCH_LIBS([initscr], [curses], [ -+ AC_DEFINE(HAVE_CURSES_H)],[ -+ AC_MSG_ERROR([bvi requires the curses library])])],[ -+ AC_MSG_ERROR([bvi requires the curses library])])]) - - dnl Checks for typedefs, structures, and compiler characteristics. - dnl AC_TYPE_SIZE_T
