From 28d975103eb6adb2994212b206e8ef0337f7c354 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 6 Nov 2016 12:29:18 +0000 Subject: drop deprecated base-gcc patch from gcc-config, drop unused ebuilds --- .../gcc-config-kogaion-base-gcc-support-2.patch | 18 ------------- .../gcc-config-kogaion-base-gcc-support.patch | 30 ---------------------- 2 files changed, 48 deletions(-) delete mode 100644 sys-devel/gcc-config/files/gcc-config-kogaion-base-gcc-support-2.patch delete mode 100644 sys-devel/gcc-config/files/gcc-config-kogaion-base-gcc-support.patch (limited to 'sys-devel/gcc-config/files') diff --git a/sys-devel/gcc-config/files/gcc-config-kogaion-base-gcc-support-2.patch b/sys-devel/gcc-config/files/gcc-config-kogaion-base-gcc-support-2.patch deleted file mode 100644 index 35c38d4e..00000000 --- a/sys-devel/gcc-config/files/gcc-config-kogaion-base-gcc-support-2.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Nurp gcc-config-1.8.orig/gcc-config gcc-config-1.8/gcc-config ---- gcc-config-1.8.orig/gcc-config 2012-11-19 04:11:11.000000000 +0100 -+++ gcc-config-1.8/gcc-config 2013-05-22 22:22:06.187665419 +0200 -@@ -209,6 +209,14 @@ update_wrappers() { - ) - ) ) - -+ # Kogaion: base-gcc does not bring any gcc executables. Return 1 -+ # if ${ROOT}${GCC_PATH} does not exist without even trying to -+ # `cd` it. -+ if [[ ! -d "${ROOT}${GCC_PATH}" ]]; then -+ ewarn "The GCC compiler for ${CTARGET} is not installed." -+ return 1 -+ fi -+ - # See what new stuff we need to wrap up. - local new_wrappers=( $( - uniq_wrapper_list "${CC_COMP_VERSION}" $( diff --git a/sys-devel/gcc-config/files/gcc-config-kogaion-base-gcc-support.patch b/sys-devel/gcc-config/files/gcc-config-kogaion-base-gcc-support.patch deleted file mode 100644 index 4b61c6cd..00000000 --- a/sys-devel/gcc-config/files/gcc-config-kogaion-base-gcc-support.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/gcc-config -+++ b/gcc-config -@@ -209,6 +209,14 @@ update_wrappers() { - ) - ) ) - -+ # Kogaion: base-gcc does not bring any gcc executables. Return 1 -+ # if ${ROOT}${GCC_PATH} does not exist without even trying to -+ # `cd` it. -+ if [[ ! -d "${ROOT}${GCC_PATH}" ]]; then -+ ewarn "The GCC compiler for ${CTARGET} is not installed." -+ return 1 -+ fi -+ - # See what new stuff we need to wrap up. - local new_wrappers=( $( - uniq_wrapper_list "${CC_COMP_VERSION}" $( -@@ -331,6 +339,12 @@ handle_split_usr() { - - gcc="${ROOT}${LATEST_GCC_PATH}/gcc" - -+ # Kogaion: base-gcc does not carry the GCC executable, so -+ # skip this part -+ if [[ ! -x "${gcc}" ]]; then -+ return 0 -+ fi -+ - local multilib - for multilib in $("${gcc}" -print-multi-lib); do - local multiarg=${multilib#*;} -- cgit v1.2.3