1 |
commit: e25f6fa23f1f30b6b05489f07328a8cd5d7a2c68 |
2 |
Author: Peter Levine <plevine457 <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Jul 22 20:59:39 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 30 16:04:02 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e25f6fa2 |
7 |
|
8 |
dev-util/codeblocks: Fix segfault with GCC-6 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/show_bug.cgi?id=625696 |
11 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/5175 |
13 |
|
14 |
dev-util/codeblocks/codeblocks-16.01.ebuild | 11 +++++++---- |
15 |
1 file changed, 7 insertions(+), 4 deletions(-) |
16 |
|
17 |
diff --git a/dev-util/codeblocks/codeblocks-16.01.ebuild b/dev-util/codeblocks/codeblocks-16.01.ebuild |
18 |
index 9f14a95f0a1..047fa097585 100644 |
19 |
--- a/dev-util/codeblocks/codeblocks-16.01.ebuild |
20 |
+++ b/dev-util/codeblocks/codeblocks-16.01.ebuild |
21 |
@@ -1,10 +1,11 @@ |
22 |
-# Copyright 1999-2016 Gentoo Foundation |
23 |
+# Copyright 1999-2017 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI="6" |
27 |
+EAPI=6 |
28 |
+ |
29 |
WX_GTK_VER="2.8" |
30 |
|
31 |
-inherit eutils wxwidgets |
32 |
+inherit eutils flag-o-matic wxwidgets |
33 |
|
34 |
DESCRIPTION="The open source, cross platform, free C++ IDE" |
35 |
HOMEPAGE="http://www.codeblocks.org/" |
36 |
@@ -29,8 +30,10 @@ DEPEND="${RDEPEND} |
37 |
|
38 |
src_configure() { |
39 |
touch "${S}"/revision.m4 -r "${S}"/acinclude.m4 |
40 |
- |
41 |
setup-wxwidgets |
42 |
+ |
43 |
+ append-cxxflags $(test-flags-CXX -fno-delete-null-pointer-checks) |
44 |
+ |
45 |
econf \ |
46 |
--with-wx-config="${WX_CONFIG}" \ |
47 |
$(use_enable debug) \ |