Gentoo Archives: gentoo-commits

From: "Johannes Huber (johu)" <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/kdevelop/files: kdevelop-4.5.2-kdevplatform-without-qjson.patch
Date: Mon, 04 Nov 2013 14:30:36
Message-Id: 20131104143029.797E920005@flycatcher.gentoo.org
1 johu 13/11/04 14:30:29
2
3 Added: kdevelop-4.5.2-kdevplatform-without-qjson.patch
4 Log:
5 Fix build on dev-util/kdevplatform[-reviewboard] by adding upstream patch and introducing a use flag reviewboard wrt bug #490002.
6
7 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)
8
9 Revision Changes Path
10 1.1 dev-util/kdevelop/files/kdevelop-4.5.2-kdevplatform-without-qjson.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/kdevelop/files/kdevelop-4.5.2-kdevplatform-without-qjson.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/kdevelop/files/kdevelop-4.5.2-kdevplatform-without-qjson.patch?rev=1.1&content-type=text/plain
14
15 Index: kdevelop-4.5.2-kdevplatform-without-qjson.patch
16 ===================================================================
17 commit fb4234cd72ceebb200bef13234ea9c36c9a62046
18 Author: Kevin Funk <kevin@×××××.org>
19 Date: Sun Nov 3 22:09:56 2013 +0100
20
21 Check if kdevplatform has JSON support
22
23 BUG: 327095
24
25 diff --git a/languages/cpp/tests/CMakeLists.txt b/languages/cpp/tests/CMakeLists.txt
26 index 84ce3ee..fbdd4db 100644
27 --- a/languages/cpp/tests/CMakeLists.txt
28 +++ b/languages/cpp/tests/CMakeLists.txt
29 @@ -55,7 +55,9 @@ target_link_libraries(buddiestest
30 ########### next target ###############
31
32 find_package(QJSON)
33 -if(QJSON_FOUND)
34 +# Also check that kdevplatform is built with JSON support
35 +# see: https://bugs.kde.org/show_bug.cgi?id=327095
36 +if(QJSON_FOUND AND KDEVPLATFORM_JSONTESTS_LIBRARIES)
37 set(cppfilestest_SRCS test_cppfiles.cpp)
38 kde4_add_unit_test(cppfilestest ${cppfilestest_SRCS})
39 configure_file("testfilepaths.h.cmake" "testfilepaths.h" ESCAPE_QUOTES)
40 @@ -67,7 +69,7 @@ if(QJSON_FOUND)
41 ${KDEVPLATFORM_JSONTESTS_LIBRARIES}
42 kdev4cppduchain
43 )
44 -endif(QJSON_FOUND)
45 +endif()
46
47 ########### next target ###############