dev-python/enable: Add support for gcc-5

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=561836

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2015-10-10 18:09:28 +02:00
parent bce23afa24
commit e3a0d23f4a
3 changed files with 27 additions and 2 deletions

View File

@@ -41,7 +41,10 @@ DEPEND="${RDEPEND}
DISTUTILS_IN_SOURCE_BUILD=1
PATCHES=( "${FILESDIR}"/${PN}-4.4.1-swig.patch )
PATCHES=(
"${FILESDIR}"/${PN}-4.4.1-swig.patch
"${FILESDIR}"/${P}-gcc-5.patch
)
python_prepare_all() {
append-cflags -fno-strict-aliasing