diff --git a/debian/changelog b/debian/changelog index 09d1d2a1..56aad9a8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,7 @@ llvm-toolchain-3.9 (1:3.9~+rc3-1~exp2) experimental; urgency=medium + * Fix the usage of jsoncpp in polly. Thanks to James Clarke for the patch + (Closes: #835607) * Fix the renaming of the manpages (Closes: #834077) * Use the manpage from clang.rst instead of help2man * Fix a crash with clang-tidy (Closes: #833802) diff --git a/debian/clang-X.Y.manpages.in b/debian/clang-X.Y.manpages.in index ef0d30e9..d0d85502 100644 --- a/debian/clang-X.Y.manpages.in +++ b/debian/clang-X.Y.manpages.in @@ -7,4 +7,3 @@ debian/man/clang-apply-replacements-@LLVM_VERSION@.1 debian/man/sancov-@LLVM_VERSION@.1 debian/man/scan-view-@LLVM_VERSION@.1 debian/man/modularize-@LLVM_VERSION@.1 - diff --git a/debian/patches/use-deb-json.diff b/debian/patches/use-deb-json.diff index 78b4fd5c..638ec7f8 100644 --- a/debian/patches/use-deb-json.diff +++ b/debian/patches/use-deb-json.diff @@ -1,7 +1,7 @@ -Index: llvm-toolchain-snapshot_3.9~svn260089/polly/lib/CMakeLists.txt +Index: b/polly/lib/CMakeLists.txt =================================================================== ---- llvm-toolchain-snapshot_3.9~svn260089.orig/polly/lib/CMakeLists.txt -+++ llvm-toolchain-snapshot_3.9~svn260089/polly/lib/CMakeLists.txt +--- a/polly/lib/CMakeLists.txt ++++ b/polly/lib/CMakeLists.txt @@ -1,10 +1,10 @@ set(LLVM_NO_RTTI 1) @@ -18,7 +18,7 @@ Index: llvm-toolchain-snapshot_3.9~svn260089/polly/lib/CMakeLists.txt set(ISL_CODEGEN_FILES CodeGen/IslAst.cpp -@@ -46,7 +46,7 @@ add_polly_library(Polly +@@ -46,7 +46,7 @@ Support/RegisterPasses.cpp Support/ScopHelper.cpp Support/ScopLocation.cpp @@ -27,7 +27,7 @@ Index: llvm-toolchain-snapshot_3.9~svn260089/polly/lib/CMakeLists.txt Transform/Canonicalization.cpp Transform/CodePreparation.cpp Transform/DeadCodeElimination.cpp -@@ -54,7 +54,7 @@ add_polly_library(Polly +@@ -54,7 +54,7 @@ ${POLLY_HEADER_FILES} ) @@ -36,3 +36,22 @@ Index: llvm-toolchain-snapshot_3.9~svn260089/polly/lib/CMakeLists.txt if (BUILD_SHARED_LIBS) target_link_libraries(Polly +Index: b/polly/CMakeLists.txt +=================================================================== +--- a/polly/CMakeLists.txt ++++ b/polly/CMakeLists.txt +@@ -128,10 +128,13 @@ + INCLUDE_DIRECTORIES( ${CUDALIB_INCLUDE_DIR} ) + endif(CUDALIB_FOUND) + ++find_path(JSONCPP_INCLUDE_PATH json/json.h PATH_SUFFIXES jsoncpp) ++ + include_directories( + BEFORE + ${CMAKE_CURRENT_SOURCE_DIR}/include +- ${CMAKE_CURRENT_SOURCE_DIR}/lib/JSON/include ++# ${CMAKE_CURRENT_SOURCE_DIR}/lib/JSON/include ++ ${JSONCPP_INCLUDE_PATH} + ${CMAKE_CURRENT_BINARY_DIR}/lib/External/isl/include + ${CMAKE_CURRENT_SOURCE_DIR}/lib/External/isl/include + ${CMAKE_CURRENT_BINARY_DIR}/include