diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2019-03-01 18:00:15 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-03-01 20:03:48 +0100 |
commit | 89eb9529b9fbcb41e17237d121a1c3d660d24719 (patch) | |
tree | 5bf775bed173c26b3eb3a8432bfd943e5b7865c4 /app-editors/bvi | |
parent | net-misc/vino: fixed segfaults in wayland (diff) | |
download | gentoo-89eb9529b9fbcb41e17237d121a1c3d660d24719.tar.gz gentoo-89eb9529b9fbcb41e17237d121a1c3d660d24719.tar.bz2 gentoo-89eb9529b9fbcb41e17237d121a1c3d660d24719.zip |
app-editors/bvi: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11183
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-editors/bvi')
-rw-r--r-- | app-editors/bvi/files/bvi-1.3.2-fix-buffer-overflow.patch | 22 | ||||
-rw-r--r-- | app-editors/bvi/files/bvi-1.3.2-tinfo.patch | 35 |
2 files changed, 0 insertions, 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 e3ebaa3d1295..000000000000 --- 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 b00c88811507..000000000000 --- 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 |