Remove, no longer needed on latest -current - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
(HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset 9c5e0d305c02ad87af47fdae539586ff55d4a8f7
(DIR) parent d873461fcc4b4e8c5c0e1fbb6b1d7b7c8c8c82a6
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Fri, 26 Apr 2019 21:23:53
Remove, no longer needed on latest -current
Diffstat:
sysutils/noice/patch-noice.c | 58 --------------------------------------------
1 files changed, 0 insertions(+), 58 deletions(-)
---
diff -r d873461fcc4b -r 9c5e0d305c02 sysutils/noice/patch-noice.c
--- a/sysutils/noice/patch-noice.c Fri Apr 26 11:14:35 2019 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-$NetBSD$
-
-Directly use addstr() instead of printw() in order to output every
-bytes without any transformation (and hence also correctly displaying
-Unicode characters).
-
-No longer needed since:
-
- cvs rdiff -u -r1.68 -r1.69 src/lib/libcurses/curses_private.h
- cvs rdiff -u -r1.20 -r1.21 src/lib/libcurses/delwin.c
- cvs rdiff -u -r1.54 -r1.55 src/lib/libcurses/newwin.c
- cvs rdiff -u -r1.26 -r1.27 src/lib/libcurses/printw.c
-
- <https://mail-index.NetBSD.org/source-changes/2019/04/01/msg104681.html>
-
---- noice.c.orig 2019-03-09 18:53:18.000000000 +0000
-+++ noice.c
-@@ -343,7 +343,8 @@ void
- printmsg(char *msg)
- {
- move(LINES - 1, 0);
-- printw("%s\n", msg);
-+ addstr(msg);
-+ addstr("\n");
- }
-
- /* Display warning as a message */
-@@ -374,7 +375,7 @@ void
- printprompt(char *str)
- {
- clearprompt();
-- printw(str);
-+ addstr(str);
- }
-
- int
-@@ -499,7 +500,9 @@ printent(struct entry *ent, int active)
- }
-
- attron(attr);
-- printw("%s%s\n", active ? CURSR : EMPTY, name);
-+ addstr(active ? CURSR : EMPTY);
-+ addstr(name);
-+ addstr("\n");
- attroff(attr);
- }
-
-@@ -631,7 +634,9 @@ redraw(char *path)
- cwd[ncols - strlen(CWD) - 1] = '\0';
- realpath(cwd, cwdresolved);
-
-- printw(CWD "%s\n\n", cwdresolved);
-+ addstr(CWD);
-+ addstr(cwdresolved);
-+ addstr("\n\n");
-
- /* Print listing */
- odd = ISODD(nlines);