1 |
commit: 89eb9529b9fbcb41e17237d121a1c3d660d24719 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Mar 1 17:00:15 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 1 19:03:48 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89eb9529 |
7 |
|
8 |
app-editors/bvi: remove unused patch(es) |
9 |
|
10 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/11183 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
.../bvi/files/bvi-1.3.2-fix-buffer-overflow.patch | 22 -------------- |
15 |
app-editors/bvi/files/bvi-1.3.2-tinfo.patch | 35 ---------------------- |
16 |
2 files changed, 57 deletions(-) |
17 |
|
18 |
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 |
19 |
deleted file mode 100644 |
20 |
index e3ebaa3d129..00000000000 |
21 |
--- a/app-editors/bvi/files/bvi-1.3.2-fix-buffer-overflow.patch |
22 |
+++ /dev/null |
23 |
@@ -1,22 +0,0 @@ |
24 |
-diff --git a/edit.c b/edit.c |
25 |
-index 328a0cd..3cf6572 100644 |
26 |
---- a/edit.c |
27 |
-+++ b/edit.c |
28 |
-@@ -42,7 +42,7 @@ char contru[][4] = {"NUL", "SOH", "STX", "ETX", "EOT", "ENQ", "ACK", "BEL", |
29 |
- "CAN", " EM", "SUB", "ESC", " FS", " GS", " RS", " US", |
30 |
- "DEL" }; |
31 |
- char tmpbuf[10]; |
32 |
--char linbuf[256]; |
33 |
-+char linbuf[16384]; |
34 |
- |
35 |
- static char getcbuff[BUFFER]; |
36 |
- static char *getcnext = NULL; |
37 |
-@@ -492,7 +492,7 @@ printline(mempos, scpos) |
38 |
- *(string + print_pos) = '.'; |
39 |
- } |
40 |
- *(string + Anzahl) = '\0'; |
41 |
-- strcat(linbuf, string); |
42 |
-+ strncat(linbuf, string, sizeof(linbuf) - strlen(linbuf) - 1); |
43 |
- mvaddstr(scpos, 0, linbuf); |
44 |
- } |
45 |
- |
46 |
|
47 |
diff --git a/app-editors/bvi/files/bvi-1.3.2-tinfo.patch b/app-editors/bvi/files/bvi-1.3.2-tinfo.patch |
48 |
deleted file mode 100644 |
49 |
index b00c8881150..00000000000 |
50 |
--- a/app-editors/bvi/files/bvi-1.3.2-tinfo.patch |
51 |
+++ /dev/null |
52 |
@@ -1,35 +0,0 @@ |
53 |
-diff --git a/configure.in b/configure.in |
54 |
-index 68076d8..81da696 100644 |
55 |
---- a/configure.in |
56 |
-+++ b/configure.in |
57 |
-@@ -58,17 +58,19 @@ AC_ARG_WITH(ncurses, |
58 |
- fi |
59 |
- ]) |
60 |
- |
61 |
--AC_CHECK_HEADER(ncurses.h, |
62 |
-- AC_CHECK_LIB(ncurses, initscr, |
63 |
-- AC_DEFINE(HAVE_NCURSES_H) LIBS="${LIBS} -lncurses", |
64 |
-- AC_CHECK_LIB(curses, initscr, |
65 |
-- AC_DEFINE(HAVE_CURSES_H) LIBS="${LIBS} -lcurses", |
66 |
-- AC_MSG_ERROR([bvi requires the curses library]))), |
67 |
-- AC_CHECK_HEADER(curses.h, |
68 |
-- AC_CHECK_LIB(curses, initscr, |
69 |
-- AC_DEFINE(HAVE_CURSES_H) LIBS="${LIBS} -lcurses", |
70 |
-- AC_MSG_ERROR([bvi requires the curses library])), |
71 |
-- AC_MSG_ERROR([bvi requires the curses library]))) |
72 |
-+AC_CHECK_HEADER([ncurses.h],[ |
73 |
-+ AC_SEARCH_LIBS([initscr], [ncurses],[ |
74 |
-+ AC_DEFINE(HAVE_NCURSES_H) |
75 |
-+ AC_SEARCH_LIBS([tputs], [tinfo])], [ |
76 |
-+ AC_SEARCH_LIBS([initscr], [curses],[ |
77 |
-+ AC_DEFINE(HAVE_CURSES_H) |
78 |
-+ AC_SEARCH_LIBS([tputs], [tinfo])],[ |
79 |
-+ AC_MSG_ERROR([bvi requires the curses library])])])],[ |
80 |
-+ AC_CHECK_HEADER([curses.h],[ |
81 |
-+ AC_SEARCH_LIBS([initscr], [curses], [ |
82 |
-+ AC_DEFINE(HAVE_CURSES_H)],[ |
83 |
-+ AC_MSG_ERROR([bvi requires the curses library])])],[ |
84 |
-+ AC_MSG_ERROR([bvi requires the curses library])])]) |
85 |
- |
86 |
- dnl Checks for typedefs, structures, and compiler characteristics. |
87 |
- dnl AC_TYPE_SIZE_T |