From fc637fb28da700da71ec2064d65ca5a7a31b9c6c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 18 Aug 2019 18:16:17 +0100 Subject: gentoo resync : 18.08.2019 --- ...8-dont_source_functions_sh_from_etc_initd.patch | 47 ---------------------- 1 file changed, 47 deletions(-) delete mode 100644 sys-devel/gcc-config/files/gcc-config-1.8-dont_source_functions_sh_from_etc_initd.patch (limited to 'sys-devel/gcc-config/files') diff --git a/sys-devel/gcc-config/files/gcc-config-1.8-dont_source_functions_sh_from_etc_initd.patch b/sys-devel/gcc-config/files/gcc-config-1.8-dont_source_functions_sh_from_etc_initd.patch deleted file mode 100644 index a4b7de2ffc54..000000000000 --- a/sys-devel/gcc-config/files/gcc-config-1.8-dont_source_functions_sh_from_etc_initd.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- gcc-config-1.8/gcc-config -+++ gcc-config-1.8/gcc-config -@@ -15,8 +15,9 @@ - trap ":" INT QUIT TSTP - - argv0=${0##*/} --source /etc/init.d/functions.sh || { -- echo "${argv0}: Could not source /etc/init.d/functions.sh!" 1>&2 -+functions_script="/lib/gentoo/functions.sh" -+source ${functions_script} || { -+ echo "${argv0}: Could not source ${functions_script}!" 1>&2 - exit 1 - } - esyslog() { :; } - -From d45de09450ffb63b138bbb7f78cae43e1101e2ec Mon Sep 17 00:00:00 2001 -From: Ryan Hill -Date: Tue, 12 May 2015 22:09:28 -0600 -Subject: [PATCH] Ignore whitespace when diffing test results. - -The amount of whitespace output by ebegin/eend from gentoo-functions -is dynamic (seems to be dependent on terminal width). Since we can't -predict this we have to ignore all whitespace differences. - -URL: https://bugs.gentoo.org/547586 -Reported-by: tka -Signed-off-by: Ryan Hill ---- - tests/run_tests | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/run_tests b/tests/run_tests -index 2ff7d77..397d667 100755 ---- a/tests/run_tests -+++ b/tests/run_tests -@@ -44,7 +44,7 @@ cmp_log() { - args+=( -e "s|: line [0-9]*: |: |g" ) - sed "${args[@]}" "${exp}" > "${exp}.tmp" - sed "${args[@]}" "${log}" > "${log}.tmp" -- diff -u "${exp}.tmp" "${log}.tmp" > "${log}.diff" -+ diff -uw "${exp}.tmp" "${log}.tmp" > "${log}.diff" - ret=$? - rm "${exp}.tmp" - return ${ret} --- -2.4.4 - -- cgit v1.2.3