From: Peter Levine Date: Sat, 22 Jul 2017 20:59:39 +0000 (-0400) Subject: dev-util/codeblocks: Fix segfault with GCC-6 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e25f6fa23f1f30b6b05489f07328a8cd5d7a2c68;p=gentoo.git dev-util/codeblocks: Fix segfault with GCC-6 Bug: https://bugs.gentoo.org/show_bug.cgi?id=625696 Package-Manager: Portage-2.3.6, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/5175 --- diff --git a/dev-util/codeblocks/codeblocks-16.01.ebuild b/dev-util/codeblocks/codeblocks-16.01.ebuild index 9f14a95f0a1b..047fa0975850 100644 --- a/dev-util/codeblocks/codeblocks-16.01.ebuild +++ b/dev-util/codeblocks/codeblocks-16.01.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=6 + WX_GTK_VER="2.8" -inherit eutils wxwidgets +inherit eutils flag-o-matic wxwidgets DESCRIPTION="The open source, cross platform, free C++ IDE" HOMEPAGE="http://www.codeblocks.org/" @@ -29,8 +30,10 @@ DEPEND="${RDEPEND} src_configure() { touch "${S}"/revision.m4 -r "${S}"/acinclude.m4 - setup-wxwidgets + + append-cxxflags $(test-flags-CXX -fno-delete-null-pointer-checks) + econf \ --with-wx-config="${WX_CONFIG}" \ $(use_enable debug) \