From 576b6208d6defe240bfa2477d6dd19f1ed83bfaf Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Mon, 2 Sep 2019 05:23:45 +0200 Subject: Cleaned most of outdated stuff --- .../files/util-linux-2.12r-cal-dumb-terminal.patch | 37 ---------------------- 1 file changed, 37 deletions(-) delete mode 100644 sys-apps/util-linux/files/util-linux-2.12r-cal-dumb-terminal.patch (limited to 'sys-apps/util-linux/files/util-linux-2.12r-cal-dumb-terminal.patch') diff --git a/sys-apps/util-linux/files/util-linux-2.12r-cal-dumb-terminal.patch b/sys-apps/util-linux/files/util-linux-2.12r-cal-dumb-terminal.patch deleted file mode 100644 index 073506e..0000000 --- a/sys-apps/util-linux/files/util-linux-2.12r-cal-dumb-terminal.patch +++ /dev/null @@ -1,37 +0,0 @@ -If you try to use cal on a terminal which doesnt support highlighting, -Senter and Sexit will be set to NULL instead of "" which will cause the -resulting output to be off: - -$ env TERM=dumb cal - December 2005 -Su Mo Tu We Th Fr Sa - 1 2 3 - 4 5 6 7 8 9 10 -111 13 14 15 16 17 -18 19 20 21 22 23 24 -25 26 27 28 29 30 31 - -http://bugs.gentoo.org/112406 - ---- util-linux/misc-utils/cal.c -+++ util-linux/misc-utils/cal.c -@@ -89,7 +89,8 @@ - - static char * - my_tgetstr(char *s, char *ss) { -- return tigetstr(ss); -+ char *ret = tigetstr(ss); -+ return (ret == NULL ? "" : ret); - } - - #elif defined(HAVE_termcap) -@@ -112,7 +113,8 @@ - - static char * - my_tgetstr(char *s, char *ss) { -- return tgetstr(s, &strbuf); -+ char *ret = tgetstr(s, &strbuf); -+ return (ret == NULL ? "" : ret); - } - - #endif -- cgit v1.2.3