From cc3ef2393202a6a2cbca43f43b0eeb3bc31ad6be Mon Sep 17 00:00:00 2001 From: Maksim 'max_posedon' Melnikau Date: Wed, 18 Mar 2009 02:38:55 +0000 Subject: big cleanup commit, if I broke smth for somebody - sorry --- sys-apps/openrc/files/0.4.2/0001-msg-style.patch | 46 ------------------------ 1 file changed, 46 deletions(-) delete mode 100644 sys-apps/openrc/files/0.4.2/0001-msg-style.patch (limited to 'sys-apps/openrc/files/0.4.2/0001-msg-style.patch') diff --git a/sys-apps/openrc/files/0.4.2/0001-msg-style.patch b/sys-apps/openrc/files/0.4.2/0001-msg-style.patch deleted file mode 100644 index ab3559e..0000000 --- a/sys-apps/openrc/files/0.4.2/0001-msg-style.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 1eddb56f11b41c4bf4f878c995c5d140b1f9d44d Mon Sep 17 00:00:00 2001 -From: Mike Frysinger -Date: Mon, 24 Mar 2008 01:48:19 -0400 -Subject: [PATCH] This reverts commit 0e2f160c95b15e95f3885e3f5a3670ec5ae0a709. 2 spaces in 80 cols has never made any sort of realistic difference and we're not going to change this behavior in Gentoo. - ---- - src/libeinfo/libeinfo.c | 9 +++------ - 1 files changed, 3 insertions(+), 6 deletions(-) - -diff --git a/src/libeinfo/libeinfo.c b/src/libeinfo/libeinfo.c -index f8ddcb5..c46cacb 100644 ---- a/src/libeinfo/libeinfo.c -+++ b/src/libeinfo/libeinfo.c -@@ -787,7 +787,7 @@ static void _eend(FILE * __EINFO_RESTRICT fp, int col, ECOLOR color, - if (! msg) - return; - -- cols = get_term_columns(fp) - (strlen(msg) + 3); -+ cols = get_term_columns(fp) - (strlen(msg) + 5); - - /* cons25 is special - we need to remove one char, otherwise things - * do not align properly at all. */ -@@ -801,18 +801,15 @@ static void _eend(FILE * __EINFO_RESTRICT fp, int col, ECOLOR color, - if (term_is_cons25) - cols--; - -- /* If extra spacing is required around msg, then please change -- * via a runtime knob and leave this default as is as it saves 2 -- * valuable columns when running on 80 column screens. */ - if (cols > 0 && colour_terminal(fp)) { -- fprintf(fp, "%s%s %s[%s%s%s]%s\n", up, tgoto(goto_column, 0, cols), -+ fprintf(fp, "%s%s %s[%s %s %s]%s\n", up, tgoto(goto_column, 0, cols), - ecolor(ECOLOR_BRACKET), ecolor(color), msg, - ecolor(ECOLOR_BRACKET), ecolor(ECOLOR_NORMAL)); - } else { - if (col > 0) - for (i = 0; i < cols - col; i++) - fprintf(fp, " "); -- fprintf(fp, " [%s]\n", msg); -+ fprintf(fp, " [ %s ]\n", msg); - } - } - --- -1.5.4.4 - -- cgit v1.2.3-65-gdbad