From aac463bb3b981514d4a08978d3b76128bf2c90a1 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Fri, 24 Apr 2015 09:49:17 +0300 Subject: [linux-kogaion/linux-kogaion.skel] upgrade skel --- sys-kernel/linux-kogaion/linux-kogaion.skel | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-kernel/linux-kogaion/linux-kogaion.skel b/sys-kernel/linux-kogaion/linux-kogaion.skel index d5db454f..a8ff21b3 100644 --- a/sys-kernel/linux-kogaion/linux-kogaion.skel +++ b/sys-kernel/linux-kogaion/linux-kogaion.skel @@ -7,7 +7,7 @@ EAPI=5 inherit versionator K_ROGKERNEL_SELF_TARBALL_NAME="kogaion" -K_REQUIRED_LINUX_FIRMWARE_VER="20130728" +K_REQUIRED_LINUX_FIRMWARE_VER="20150320" K_ROGKERNEL_FORCE_SUBLEVEL="0" K_ROGKERNEL_PATCH_UPSTREAM_TARBALL="0" @@ -23,7 +23,7 @@ K_MKIMAGE_RAMDISK_ADDRESS="0x81000000" K_MKIMAGE_RAMDISK_ENTRYPOINT="0x00000000" K_MKIMAGE_KERNEL_ADDRESS="0x80008000" -inherit sabayon-kernel +inherit kogaion-kernel KEYWORDS="~amd64 ~x86" DESCRIPTION="Official Kogaion Linux Standard kernel image" -- cgit v1.2.3 From 9836a336a4ec6b64c3a237acc94a3d03687cdef1 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Fri, 24 Apr 2015 11:20:14 +0300 Subject: [sys-devel/*gcc] vbox guest adds fixed with patch --- sys-devel/base-gcc/base-gcc-4.8.4.ebuild | 3 +++ .../files/base-gcc-4.8.4-no_instrument_function.patch | 15 +++++++++++++++ .../gcc/files/gcc-4.8.4-no_instrument_function.patch | 15 +++++++++++++++ sys-devel/gcc/gcc-4.8.4.ebuild | 3 +++ 4 files changed, 36 insertions(+) create mode 100644 sys-devel/base-gcc/files/base-gcc-4.8.4-no_instrument_function.patch create mode 100644 sys-devel/gcc/files/gcc-4.8.4-no_instrument_function.patch diff --git a/sys-devel/base-gcc/base-gcc-4.8.4.ebuild b/sys-devel/base-gcc/base-gcc-4.8.4.ebuild index 70944b4b..66d66257 100644 --- a/sys-devel/base-gcc/base-gcc-4.8.4.ebuild +++ b/sys-devel/base-gcc/base-gcc-4.8.4.ebuild @@ -83,6 +83,9 @@ src_prepare() { #Use -r1 for newer piepatchet that use DRIVER_SELF_SPECS for the hardened specs. [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env-r1.patch + + #virtualbox-guest-additions fix patch + epatch "${FILESDIR}/${P}-no_instrument_function.patch" } ## Just install libgcc stuff diff --git a/sys-devel/base-gcc/files/base-gcc-4.8.4-no_instrument_function.patch b/sys-devel/base-gcc/files/base-gcc-4.8.4-no_instrument_function.patch new file mode 100644 index 00000000..c363b961 --- /dev/null +++ b/sys-devel/base-gcc/files/base-gcc-4.8.4-no_instrument_function.patch @@ -0,0 +1,15 @@ +--- trunk/gcc/c-family/c-common.c 2014/01/02 22:23:26 206289 ++++ trunk/gcc/c-family/c-common.c 2014/01/15 19:37:35 206643 +@@ -7985,12 +7985,6 @@ + "%qE attribute applies only to functions", name); + *no_add_attrs = true; + } +- else if (DECL_INITIAL (decl)) +- { +- error_at (DECL_SOURCE_LOCATION (decl), +- "can%'t set %qE attribute after definition", name); +- *no_add_attrs = true; +- } + else + DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT (decl) = 1; + diff --git a/sys-devel/gcc/files/gcc-4.8.4-no_instrument_function.patch b/sys-devel/gcc/files/gcc-4.8.4-no_instrument_function.patch new file mode 100644 index 00000000..c363b961 --- /dev/null +++ b/sys-devel/gcc/files/gcc-4.8.4-no_instrument_function.patch @@ -0,0 +1,15 @@ +--- trunk/gcc/c-family/c-common.c 2014/01/02 22:23:26 206289 ++++ trunk/gcc/c-family/c-common.c 2014/01/15 19:37:35 206643 +@@ -7985,12 +7985,6 @@ + "%qE attribute applies only to functions", name); + *no_add_attrs = true; + } +- else if (DECL_INITIAL (decl)) +- { +- error_at (DECL_SOURCE_LOCATION (decl), +- "can%'t set %qE attribute after definition", name); +- *no_add_attrs = true; +- } + else + DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT (decl) = 1; + diff --git a/sys-devel/gcc/gcc-4.8.4.ebuild b/sys-devel/gcc/gcc-4.8.4.ebuild index f335ac8e..c69fd8aa 100644 --- a/sys-devel/gcc/gcc-4.8.4.ebuild +++ b/sys-devel/gcc/gcc-4.8.4.ebuild @@ -85,6 +85,9 @@ src_prepare() { #Use -r1 for newer piepatchet that use DRIVER_SELF_SPECS for the hardened specs. [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env-r1.patch + + #virtualbox-guest-addition fix https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49718 + epatch "${FILESDIR}/${P}-no_instrument_function.patch" } ## Just install libgcc stuff -- cgit v1.2.3