diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2015-04-21 22:24:48 +0300 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2015-04-21 22:24:48 +0300 |
commit | b70efef53cc9de063fe3974dd56d672a92e57a9f (patch) | |
tree | afd40e71be8de842afd562eda001b21abc9019c3 /sys-devel/gcc-config/files/gcc-config-kogaion-base-gcc-support-2.patch | |
parent | 0fc61a35b43840a592037ab8bf88af6142527e3c (diff) | |
parent | 9a2973bcf4baaf0fa7848cd93e45ea1b7cd1a110 (diff) |
Merge branch 'master' of github.com:Rogentos/kogaion-desktop
Diffstat (limited to 'sys-devel/gcc-config/files/gcc-config-kogaion-base-gcc-support-2.patch')
-rw-r--r-- | sys-devel/gcc-config/files/gcc-config-kogaion-base-gcc-support-2.patch | 18 |
1 files changed, 18 insertions, 0 deletions
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 new file mode 100644 index 00000000..35c38d4e --- /dev/null +++ b/sys-devel/gcc-config/files/gcc-config-kogaion-base-gcc-support-2.patch @@ -0,0 +1,18 @@ +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}" $( |