1 |
commit: 9eda51b648cb728c5b9a5e2d4ae2b962e670f69f |
2 |
Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 27 00:24:16 2017 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 27 00:24:56 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eda51b6 |
7 |
|
8 |
dev-util/qbs: tentative fix for bug 618424 |
9 |
|
10 |
Gentoo-Bug: 618424 |
11 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
12 |
|
13 |
dev-util/qbs/{qbs-1.8.0.ebuild => qbs-1.8.0-r1.ebuild} | 4 ++++ |
14 |
1 file changed, 4 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/qbs/qbs-1.8.0.ebuild b/dev-util/qbs/qbs-1.8.0-r1.ebuild |
17 |
similarity index 92% |
18 |
rename from dev-util/qbs/qbs-1.8.0.ebuild |
19 |
rename to dev-util/qbs/qbs-1.8.0-r1.ebuild |
20 |
index 34a26df32fd..d2cb3eae1ea 100644 |
21 |
--- a/dev-util/qbs/qbs-1.8.0.ebuild |
22 |
+++ b/dev-util/qbs/qbs-1.8.0-r1.ebuild |
23 |
@@ -35,6 +35,10 @@ DEPEND="${RDEPEND} |
24 |
src_prepare() { |
25 |
default |
26 |
|
27 |
+ # don't add /usr/include to INCLUDEPATH |
28 |
+ # avoids a build failure in qt-creator with gcc-6 (bug 618424) |
29 |
+ sed -i -e '/^INCLUDEPATH/ s:$${PWD}/\.\.::' src/lib/corelib/use_installed_corelib.pri || die |
30 |
+ |
31 |
if ! use examples; then |
32 |
sed -i -e '/INSTALLS +=/ s:examples::' static.pro || die |
33 |
fi |