From 53e90e11164d208e516525b94e2cfa0fe3059bc2 Mon Sep 17 00:00:00 2001 From: Aisha Tammy Date: Fri, 24 Dec 2021 23:35:25 +0000 Subject: [PATCH] sys-kernel/uek-sources: add O3 patch Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Aisha Tammy --- dev-python/pydispatcher/Manifest | 1 + dev-python/pydispatcher/metadata.xml | 8 ++++++++ .../pydispatcher/pydispatcher-2.0.5.ebuild | 19 +++++++++++++++++++ .../uek-sources-5.4.17.2136.303.2-O3.patch | 12 ++++++++++++ .../uek-sources-5.4.17.2136.303.2.ebuild | 1 + 5 files changed, 41 insertions(+) create mode 100644 dev-python/pydispatcher/Manifest create mode 100644 dev-python/pydispatcher/metadata.xml create mode 100644 dev-python/pydispatcher/pydispatcher-2.0.5.ebuild create mode 100644 sys-kernel/uek-sources/files/uek-sources-5.4.17.2136.303.2-O3.patch diff --git a/dev-python/pydispatcher/Manifest b/dev-python/pydispatcher/Manifest new file mode 100644 index 0000000000..3e7453f3e4 --- /dev/null +++ b/dev-python/pydispatcher/Manifest @@ -0,0 +1 @@ +DIST PyDispatcher-2.0.5.tar.gz 34437 BLAKE2B eefc2e0f22c9d91b22acd1352d76f1bd69d7161efdf0827f1bcb42ccf0a5c98576dbc25817e0a6c4cb3327b5fad39281cd19a784f0f477ba1b20690e644e867c SHA512 b361463f006a775e1f22cfe07520951649f76c26be35a80ca016620c8ef466129c4abeafe42f0ffdc605e7523287b1e804967f19d951089d24e052fe10d88e6f diff --git a/dev-python/pydispatcher/metadata.xml b/dev-python/pydispatcher/metadata.xml new file mode 100644 index 0000000000..65ac1f2056 --- /dev/null +++ b/dev-python/pydispatcher/metadata.xml @@ -0,0 +1,8 @@ + + + + + gentoo@aisha.cc + Aisha Tammy + + diff --git a/dev-python/pydispatcher/pydispatcher-2.0.5.ebuild b/dev-python/pydispatcher/pydispatcher-2.0.5.ebuild new file mode 100644 index 0000000000..4ee314e2d8 --- /dev/null +++ b/dev-python/pydispatcher/pydispatcher-2.0.5.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_9 ) +inherit distutils-r1 + +DESCRIPTION="Multi-producer-multi-consumer signal dispatching mechanism" +HOMEPAGE="https://github.com/scrapy/pypydispatcher https://pypi.org/project/PyPyDispatcher/" +MY_P=PyDispatcher +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_P}/${MY_P}-${PV}.tar.gz" +S=${WORKDIR}/${MY_P}-${PV} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests unittest diff --git a/sys-kernel/uek-sources/files/uek-sources-5.4.17.2136.303.2-O3.patch b/sys-kernel/uek-sources/files/uek-sources-5.4.17.2136.303.2-O3.patch new file mode 100644 index 0000000000..ce03b437bb --- /dev/null +++ b/sys-kernel/uek-sources/files/uek-sources-5.4.17.2136.303.2-O3.patch @@ -0,0 +1,12 @@ +diff --git a/Kconfig b/Kconfig +index 930c36f..8c3cf67 100644 +--- a/Kconfig ++++ b/Kconfig +@@ -1218,7 +1218,6 @@ config CC_OPTIMIZE_FOR_PERFORMANCE + + config CC_OPTIMIZE_FOR_PERFORMANCE_O3 + bool "Optimize more for performance (-O3)" +- depends on ARC + help + Choosing this option will pass "-O3" to your compiler to optimize + the kernel yet more for performance. diff --git a/sys-kernel/uek-sources/uek-sources-5.4.17.2136.303.2.ebuild b/sys-kernel/uek-sources/uek-sources-5.4.17.2136.303.2.ebuild index 2688c1c443..53168c13eb 100644 --- a/sys-kernel/uek-sources/uek-sources-5.4.17.2136.303.2.ebuild +++ b/sys-kernel/uek-sources/uek-sources-5.4.17.2136.303.2.ebuild @@ -35,6 +35,7 @@ IUSE="+gentoo experimental" PATCHES=( "${FILESDIR}"/uek-sources-5.4.17.2136.303.1-ip6_sock_set_v6only.patch + "${FILESDIR}"/uek-sources-5.4.17.2136.303.1-O3.patch ) src_unpack() {