New commits:
commit 2bf6dd3cae0a36bd01984a7d3308fa8bcbb32903
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
xsane: version 0.999 and png 1.6 buildfix
commit 32c1c0b8bb6669199bf06e55ad14710e9ab7bb0b
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
valgrind: make it build with current kernel and boost
commit 1429de94a626f8cd68915eaf3284506fecba559e
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
nouveau: glamor-less future
commit 0c3061ae22ac96dd2a896b77b7def694534d824b
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
llvm: fix lldb build again, presumably the next release has the fix, too
(and we should use autotools build anyway(
commit 644e22a52768fc909d8ff97f616afaa897e2b9b9
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
libva: fix build without wayland
commit 9564ea49a131edc82ab7a5189cdf0b2c9ba7aed1
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
libtheora: fix with libpng-1.6
commit b16dc0cd91a4ec68216e4cbf4f61c1acc7c47aab
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
ardour4: version 4.2.0
diff --git a/audio-creation/ardour4/DETAILS b/audio-creation/ardour4/DETAILS
index dcfffdc..7fefbac 100755
--- a/audio-creation/ardour4/DETAILS
+++ b/audio-creation/ardour4/DETAILS
@@ -1,11 +1,11 @@
SPELL=ardour4
SPELLX=Ardour
- VERSION=4.1.0
+ VERSION=4.2.0
SOURCE="${SPELLX}-${VERSION}.tar.bz2"
SOURCE_URL[0]=http://download.sourcemage.org/grimoire/distro/${SOURCE}
SOURCE_URL[1]=http://sourcemage.ru/mirror/$SOURCE
SOURCE_URL[2]=http://sobukus.de/ardour/$SOURCE
-
SOURCE_HASH=sha512:cf9381e831cdf317d5b313d5a7ab2238a29c4cbeddf5c40540e860987e43366c78ffa514b409a5460867fc4359d5cee5788a1520100711e3c22a7b18b92e0d61
+
SOURCE_HASH=sha512:3d464db6990168a9b14a6e78732905f1197539da6fc2a6bae39a221223b09a2974a4c5408f3a6d59c0289ee7d4bb11e430e5a0334c264d742c6100a09c4014c5
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELLX}-${VERSION}"
WEB_SITE="http://ardour.org"
LICENSE[0]=GPLv2
diff --git a/audio-creation/ardour4/HISTORY b/audio-creation/ardour4/HISTORY
index 45ab061..9716828 100644
--- a/audio-creation/ardour4/HISTORY
+++ b/audio-creation/ardour4/HISTORY
@@ -1,3 +1,6 @@
+2015-08-15 Thomas Orgis <sobukus AT souremage.org>
+ * DETAILS: bump to 4.2
+
2015-06-26 Thomas Orgis <sobukus AT souremage.org>
* DETAILS: bump to 4.1
diff --git a/devel/llvm/HISTORY b/devel/llvm/HISTORY
index 4ff43f5..02a2347 100644
--- a/devel/llvm/HISTORY
+++ b/devel/llvm/HISTORY
@@ -1,3 +1,9 @@
+2015-08-18 Thomas Orgis <sobukus AT sourcemage.org>
+ * PRE_BUILD, lldb-3.6.2-fix-shared-lib-build.patch: Again fixup,
+ adapted from https://llvm.org/bugs/show_bug.cgi?id=21670 .
+ Is this a joke? Anyone laughing?
+ * lldb-shared-libs.patch: gone, got a new one now
+
2015-07-17 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 3.6.2
diff --git a/devel/llvm/PRE_BUILD b/devel/llvm/PRE_BUILD
index 22a9421..d8f8b97 100755
--- a/devel/llvm/PRE_BUILD
+++ b/devel/llvm/PRE_BUILD
@@ -20,7 +20,9 @@ if [[ "$LLVM_WITH_LLDB" == y ]]; then
unpack_file 7 &&
mv lldb-${VERSION}.src lldb &&
cd lldb &&
- patch -p1 < ${SPELL_DIRECTORY}/lldb-shared-libs.patch
+ # still not settled: https://llvm.org/bugs/show_bug.cgi?id=21670
+ # adapted for 3.6.2
+ patch -p1 < ${SPELL_DIRECTORY}/lldb-3.6.2-fix-shared-lib-build.patch
fi &&
# small cmake related fix for libffi
diff --git a/devel/llvm/lldb-3.6.2-fix-shared-lib-build.patch
b/devel/llvm/lldb-3.6.2-fix-shared-lib-build.patch
new file mode 100644
index 0000000..f0631cb
--- /dev/null
+++ b/devel/llvm/lldb-3.6.2-fix-shared-lib-build.patch
@@ -0,0 +1,332 @@
+diff -ruN lldb-3.6.2.src/cmake/LLDBDependencies.cmake
lldb-3.6.2.src.patched/cmake/LLDBDependencies.cmake
+--- lldb-3.6.2.src/cmake/LLDBDependencies.cmake 2015-06-22
18:43:42.000000000 +0200
++++ lldb-3.6.2.src.patched/cmake/LLDBDependencies.cmake 2015-08-19
01:37:54.659931842 +0200
+@@ -170,6 +170,7 @@
+ mcdisassembler
+ executionengine
+ option
++ support
+ )
+
+ if ( NOT LLDB_DISABLE_PYTHON )
+diff -ruN lldb-3.6.2.src/cmake/LLDBDependencies.cmake.orig
lldb-3.6.2.src.patched/cmake/LLDBDependencies.cmake.orig
+--- lldb-3.6.2.src/cmake/LLDBDependencies.cmake.orig 1970-01-01
01:00:00.000000000 +0100
++++ lldb-3.6.2.src.patched/cmake/LLDBDependencies.cmake.orig 2015-06-22
18:43:42.000000000 +0200
+@@ -0,0 +1,184 @@
++set( LLDB_USED_LIBS
++ lldbBreakpoint
++ lldbCommands
++ lldbDataFormatters
++ lldbHost
++ lldbCore
++ lldbExpression
++ lldbInterpreter
++ lldbSymbol
++ lldbTarget
++ lldbUtility
++
++ # Plugins
++ lldbPluginDisassemblerLLVM
++ lldbPluginSymbolFileDWARF
++ lldbPluginSymbolFileSymtab
++ lldbPluginDynamicLoaderStatic
++ lldbPluginDynamicLoaderPosixDYLD
++ lldbPluginDynamicLoaderHexagonDYLD
++
++ lldbPluginObjectFileMachO
++ lldbPluginObjectFileELF
++ lldbPluginObjectFileJIT
++ lldbPluginSymbolVendorELF
++ lldbPluginObjectContainerBSDArchive
++ lldbPluginObjectContainerMachOArchive
++ lldbPluginProcessGDBRemote
++ lldbPluginProcessMachCore
++ lldbPluginProcessUtility
++ lldbPluginPlatformGDB
++ lldbPluginPlatformFreeBSD
++ lldbPluginPlatformKalimba
++ lldbPluginPlatformLinux
++ lldbPluginPlatformPOSIX
++ lldbPluginPlatformWindows
++ lldbPluginObjectFileMachO
++ lldbPluginObjectContainerMachOArchive
++ lldbPluginObjectContainerBSDArchive
++ lldbPluginPlatformMacOSX
++ lldbPluginDynamicLoaderMacOSXDYLD
++ lldbPluginUnwindAssemblyInstEmulation
++ lldbPluginUnwindAssemblyX86
++ lldbPluginAppleObjCRuntime
++ lldbPluginCXXItaniumABI
++ lldbPluginABIMacOSX_arm
++ lldbPluginABIMacOSX_arm64
++ lldbPluginABIMacOSX_i386
++ lldbPluginABISysV_x86_64
++ lldbPluginABISysV_hexagon
++ lldbPluginABISysV_ppc
++ lldbPluginABISysV_ppc64
++ lldbPluginInstructionARM
++ lldbPluginInstructionARM64
++ lldbPluginObjectFilePECOFF
++ lldbPluginOSPython
++ lldbPluginMemoryHistoryASan
++ lldbPluginInstrumentationRuntimeAddressSanitizer
++ )
++
++# Need to export the API in the liblldb.dll for Windows
++# The lldbAPI source files are added directly in liblldb
++if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows" )
++ list(APPEND LLDB_USED_LIBS
++ lldbAPI
++ )
++endif ()
++
++# Windows-only libraries
++if ( CMAKE_SYSTEM_NAME MATCHES "Windows" )
++ list(APPEND LLDB_USED_LIBS
++ lldbPluginProcessWindows
++ lldbPluginProcessElfCore
++ lldbPluginJITLoaderGDB
++ Ws2_32
++ )
++endif ()
++
++# Linux-only libraries
++if ( CMAKE_SYSTEM_NAME MATCHES "Linux" )
++ list(APPEND LLDB_USED_LIBS
++ lldbPluginProcessLinux
++ lldbPluginProcessPOSIX
++ lldbPluginProcessElfCore
++ lldbPluginJITLoaderGDB
++ )
++endif ()
++
++# FreeBSD-only libraries
++if ( CMAKE_SYSTEM_NAME MATCHES "FreeBSD" )
++ list(APPEND LLDB_USED_LIBS
++ lldbPluginProcessFreeBSD
++ lldbPluginProcessPOSIX
++ lldbPluginProcessElfCore
++ lldbPluginJITLoaderGDB
++ )
++endif ()
++
++# Darwin-only libraries
++if ( CMAKE_SYSTEM_NAME MATCHES "Darwin" )
++ set(LLDB_VERS_GENERATED_FILE ${LLDB_BINARY_DIR}/source/LLDB_vers.c)
++ add_custom_command(OUTPUT ${LLDB_VERS_GENERATED_FILE}
++ COMMAND ${LLDB_SOURCE_DIR}/scripts/generate-vers.pl
++ ${LLDB_SOURCE_DIR}/lldb.xcodeproj/project.pbxproj liblldb_core
++ > ${LLDB_VERS_GENERATED_FILE})
++
++ set_source_files_properties(${LLDB_VERS_GENERATED_FILE} PROPERTIES
GENERATED 1)
++ list(APPEND LLDB_USED_LIBS
++ lldbPluginDynamicLoaderDarwinKernel
++ lldbPluginProcessMacOSXKernel
++ lldbPluginSymbolVendorMacOSX
++ lldbPluginSystemRuntimeMacOSX
++ lldbPluginProcessElfCore
++ lldbPluginJITLoaderGDB
++ )
++endif()
++
++set( CLANG_USED_LIBS
++ clangAnalysis
++ clangAST
++ clangBasic
++ clangCodeGen
++ clangDriver
++ clangEdit
++ clangFrontend
++ clangLex
++ clangParse
++ clangRewrite
++ clangRewriteFrontend
++ clangSema
++ clangSerialization
++ )
++
++set(LLDB_SYSTEM_LIBS)
++if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows" AND NOT __ANDROID_NDK__)
++ if (NOT LLDB_DISABLE_LIBEDIT)
++ list(APPEND LLDB_SYSTEM_LIBS edit)
++ endif()
++ if (NOT LLDB_DISABLE_CURSES)
++ list(APPEND LLDB_SYSTEM_LIBS panel ncurses)
++ endif()
++endif()
++# On FreeBSD backtrace() is provided by libexecinfo, not libc.
++if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
++ list(APPEND LLDB_SYSTEM_LIBS execinfo)
++endif()
++
++if (NOT LLDB_DISABLE_PYTHON AND NOT LLVM_BUILD_STATIC)
++ list(APPEND LLDB_SYSTEM_LIBS ${PYTHON_LIBRARIES})
++endif()
++
++list(APPEND LLDB_SYSTEM_LIBS ${system_libs})
++
++if (LLVM_BUILD_STATIC)
++ list(APPEND LLDB_SYSTEM_LIBS python2.7 z util termcap gpm ssl crypto bsd)
++endif()
++
++set( LLVM_LINK_COMPONENTS
++ ${LLVM_TARGETS_TO_BUILD}
++ interpreter
++ asmparser
++ bitreader
++ bitwriter
++ codegen
++ ipo
++ selectiondag
++ bitreader
++ mc
++ mcjit
++ core
++ mcdisassembler
++ executionengine
++ option
++ )
++
++if ( NOT LLDB_DISABLE_PYTHON )
++ set(LLDB_WRAP_PYTHON ${LLDB_BINARY_DIR}/scripts/LLDBWrapPython.cpp)
++
++ set_source_files_properties(${LLDB_WRAP_PYTHON} PROPERTIES GENERATED 1)
++ if (LLVM_COMPILER_IS_GCC_COMPATIBLE AND
++ NOT "${CMAKE_SYSTEM_NAME}" MATCHES "Darwin")
++ set_property(SOURCE ${LLDB_WRAP_PYTHON}
++ APPEND_STRING PROPERTY COMPILE_FLAGS "
-Wno-sequence-point")
++ endif ()
++endif()
+diff -ruN lldb-3.6.2.src/source/CMakeLists.txt
lldb-3.6.2.src.patched/source/CMakeLists.txt
+--- lldb-3.6.2.src/source/CMakeLists.txt 2014-12-29 13:42:33.000000000
+0100
++++ lldb-3.6.2.src.patched/source/CMakeLists.txt 2015-08-19
01:37:54.659931842 +0200
+@@ -30,6 +30,10 @@
+ if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows" )
+ add_subdirectory(API)
+ endif ()
++
++if (BUILD_SHARED_LIBS)
++ set(SHARED_LIBRARY 1)
++endif()
+ add_subdirectory(Breakpoint)
+ add_subdirectory(Commands)
+ add_subdirectory(Core)
+diff -ruN lldb-3.6.2.src/tools/lldb-gdbserver/CMakeLists.txt
lldb-3.6.2.src.patched/tools/lldb-gdbserver/CMakeLists.txt
+--- lldb-3.6.2.src/tools/lldb-gdbserver/CMakeLists.txt 2015-06-23
17:40:10.000000000 +0200
++++ lldb-3.6.2.src.patched/tools/lldb-gdbserver/CMakeLists.txt 2015-08-19
01:49:17.983969729 +0200
+@@ -16,28 +16,35 @@
+ include_directories(../../source)
+
+ include(../../cmake/LLDBDependencies.cmake)
+-
+-# have to include lldb and lldb-log files since those are not libraries and
llgs depends on them
+-add_lldb_executable(lldb-gdbserver
+- lldb-gdbserver.cpp
+- ../../source/lldb-log.cpp
+- ../../source/lldb.cpp
+- )
+-
+-# The Darwin linker doesn't understand --start-group/--end-group.
+-if (LLVM_COMPILER_IS_GCC_COMPATIBLE AND NOT "${CMAKE_SYSTEM_NAME}" MATCHES
"Darwin")
+- target_link_libraries(lldb-gdbserver
+- -Wl,--start-group ${LLDB_USED_LIBS} -Wl,--end-group)
+- target_link_libraries(lldb-gdbserver
+- -Wl,--start-group ${CLANG_USED_LIBS}
-Wl,--end-group)
+-else()
+- target_link_libraries(lldb-gdbserver ${LLDB_USED_LIBS})
++
++if ( BUILD_SHARED_LIBS )
++ add_lldb_executable(lldb-gdbserver
++ lldb-gdbserver.cpp
++ )
++
++ target_link_libraries(lldb-gdbserver liblldb)
++ else()
++
++ # have to include lldb and lldb-log files since those are not libraries
and llgs depends on them
++ add_lldb_executable(lldb-gdbserver
++ lldb-gdbserver.cpp
++ ../../source/lldb-log.cpp
++ ../../source/lldb.cpp
++ )
++
++ # The Darwin linker doesn't understand --start-group/--end-group.
++ if (LLVM_COMPILER_IS_GCC_COMPATIBLE AND NOT "${CMAKE_SYSTEM_NAME}"
MATCHES "Darwin")
++ target_link_libraries(lldb-gdbserver
++ -Wl,--start-group ${LLDB_USED_LIBS}
-Wl,--end-group)
++ else()
++ target_link_libraries(lldb-gdbserver ${LLDB_USED_LIBS})
++ endif()
+ target_link_libraries(lldb-gdbserver ${CLANG_USED_LIBS})
+-endif()
+-llvm_config(lldb-gdbserver ${LLVM_LINK_COMPONENTS})
+-
+-target_link_libraries(lldb-gdbserver ${LLDB_SYSTEM_LIBS})
++ llvm_config(lldb-gdbserver ${LLVM_LINK_COMPONENTS})
+
++ target_link_libraries(lldb-gdbserver ${LLDB_SYSTEM_LIBS})
++endif()
++
+ set_target_properties(lldb-gdbserver PROPERTIES VERSION ${LLDB_VERSION})
+
+ install(TARGETS lldb-gdbserver
+diff -ruN lldb-3.6.2.src/tools/lldb-gdbserver/CMakeLists.txt.orig
lldb-3.6.2.src.patched/tools/lldb-gdbserver/CMakeLists.txt.orig
+--- lldb-3.6.2.src/tools/lldb-gdbserver/CMakeLists.txt.orig 1970-01-01
01:00:00.000000000 +0100
++++ lldb-3.6.2.src.patched/tools/lldb-gdbserver/CMakeLists.txt.orig
2015-08-19 01:37:54.659931842 +0200
+@@ -0,0 +1,44 @@
++set(LLVM_NO_RTTI 1)
++
++if ( CMAKE_SYSTEM_NAME MATCHES "Linux" )
++include_directories(
++ ../../source/Plugins/Process/Linux
++ ../../source/Plugins/Process/POSIX
++ )
++endif ()
++
++if ( CMAKE_SYSTEM_NAME MATCHES "FreeBSD" )
++include_directories(
++ ../../source/Plugins/Process/FreeBSD
++ ../../source/Plugins/Process/POSIX
++ )
++endif ()
++include_directories(../../source)
++
++include(../../cmake/LLDBDependencies.cmake)
++
++# have to include lldb and lldb-log files since those are not libraries and
llgs depends on them
++add_lldb_executable(lldb-gdbserver
++ lldb-gdbserver.cpp
++ ../../source/lldb-log.cpp
++ ../../source/lldb.cpp
++ )
++
++# The Darwin linker doesn't understand --start-group/--end-group.
++if (LLVM_COMPILER_IS_GCC_COMPATIBLE AND NOT "${CMAKE_SYSTEM_NAME}" MATCHES
"Darwin")
++ target_link_libraries(lldb-gdbserver
++ -Wl,--start-group ${LLDB_USED_LIBS} -Wl,--end-group)
++ target_link_libraries(lldb-gdbserver
++ -Wl,--start-group ${CLANG_USED_LIBS}
-Wl,--end-group)
++else()
++ target_link_libraries(lldb-gdbserver ${LLDB_USED_LIBS})
++ target_link_libraries(lldb-gdbserver ${CLANG_USED_LIBS})
++endif()
++llvm_config(lldb-gdbserver ${LLVM_LINK_COMPONENTS})
++
++target_link_libraries(lldb-gdbserver ${LLDB_SYSTEM_LIBS})
++
++set_target_properties(lldb-gdbserver PROPERTIES VERSION ${LLDB_VERSION})
++
++install(TARGETS lldb-gdbserver
++ RUNTIME DESTINATION bin)
+diff -ruN lldb-3.6.2.src/tools/lldb-mi/CMakeLists.txt
lldb-3.6.2.src.patched/tools/lldb-mi/CMakeLists.txt
+--- lldb-3.6.2.src/tools/lldb-mi/CMakeLists.txt 2014-08-08
18:47:42.000000000 +0200
++++ lldb-3.6.2.src.patched/tools/lldb-mi/CMakeLists.txt 2015-08-19
01:37:54.659931842 +0200
+@@ -164,7 +164,7 @@
+ )
+ endif ()
+
+-target_link_libraries(lldb-mi liblldb)
++target_link_libraries(lldb-mi liblldb pthread)
+ # TODO: why isn't this done by add_lldb_executable?
+ #target_link_libraries(lldb-mi ${LLDB_USED_LIBS})
+ #llvm_config(lldb-mi ${LLVM_LINK_COMPONENTS})
diff --git a/devel/llvm/lldb-shared-libs.patch
b/devel/llvm/lldb-shared-libs.patch
deleted file mode 100644
index f267336..0000000
--- a/devel/llvm/lldb-shared-libs.patch
+++ /dev/null
@@ -1,94 +0,0 @@
-diff --git a/cmake/LLDBDependencies.cmake b/cmake/LLDBDependencies.cmake
-index 9416a67..86c83d5 100644
---- a/cmake/LLDBDependencies.cmake
-+++ b/cmake/LLDBDependencies.cmake
-@@ -161,6 +161,7 @@ set( LLVM_LINK_COMPONENTS
- mcdisassembler
- executionengine
- option
-+ support
- )
-
- if ( NOT LLDB_DISABLE_PYTHON )
-diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
-index d551ebb..37ffb8f 100644
---- a/source/CMakeLists.txt
-+++ b/source/CMakeLists.txt
-@@ -30,6 +30,10 @@ endif ()
- if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows" )
- add_subdirectory(API)
- endif ()
-+
-+if (BUILD_SHARED_LIBS)
-+ set(SHARED_LIBRARY 1)
-+endif()
- add_subdirectory(Breakpoint)
- add_subdirectory(Commands)
- add_subdirectory(Core)
-diff --git a/tools/lldb-gdbserver/CMakeLists.txt
b/tools/lldb-gdbserver/CMakeLists.txt
-index 1dc2e1c..e38e69d 100644
---- a/tools/lldb-gdbserver/CMakeLists.txt
-+++ b/tools/lldb-gdbserver/CMakeLists.txt
-@@ -17,26 +17,33 @@ include_directories(../../source)
-
- include(../../cmake/LLDBDependencies.cmake)
-
--# have to include lldb and lldb-log files since those are not libraries and
llgs depends on them
--add_lldb_executable(lldb-gdbserver
-- lldb-gdbserver.cpp
-- ../../source/lldb-log.cpp
-- ../../source/lldb.cpp
-- )
-+if ( BUILD_SHARED_LIBS )
-+ add_lldb_executable(lldb-gdbserver
-+ lldb-gdbserver.cpp
-+ )
-
--# The Darwin linker doesn't understand --start-group/--end-group.
--if (LLVM_COMPILER_IS_GCC_COMPATIBLE AND NOT "${CMAKE_SYSTEM_NAME}" MATCHES
"Darwin")
-- target_link_libraries(lldb-gdbserver
-- -Wl,--start-group ${LLDB_USED_LIBS} -Wl,--end-group)
-+ target_link_libraries(lldb-gdbserver liblldb)
- else()
-- target_link_libraries(lldb-gdbserver ${LLDB_USED_LIBS})
-+ # have to include lldb and lldb-log files since those are not libraries
and llgs depends on them
-+ add_lldb_executable(lldb-gdbserver
-+ lldb-gdbserver.cpp
-+ ../../source/lldb-log.cpp
-+ ../../source/lldb.cpp
-+ )
-+
-+ # The Darwin linker doesn't understand --start-group/--end-group.
-+ if (LLVM_COMPILER_IS_GCC_COMPATIBLE AND NOT "${CMAKE_SYSTEM_NAME}"
MATCHES "Darwin")
-+ target_link_libraries(lldb-gdbserver
-+ -Wl,--start-group ${LLDB_USED_LIBS}
-Wl,--end-group)
-+ else()
-+ target_link_libraries(lldb-gdbserver ${LLDB_USED_LIBS})
-+ endif()
-+ target_link_libraries(lldb-gdbserver ${CLANG_USED_LIBS})
-+ llvm_config(lldb-gdbserver ${LLVM_LINK_COMPONENTS})
-+
-+ target_link_libraries(lldb-gdbserver ${LLDB_SYSTEM_LIBS})
- endif()
--target_link_libraries(lldb-gdbserver ${CLANG_USED_LIBS})
--llvm_config(lldb-gdbserver ${LLVM_LINK_COMPONENTS})
--
--target_link_libraries(lldb-gdbserver ${LLDB_SYSTEM_LIBS})
-
- set_target_properties(lldb-gdbserver PROPERTIES VERSION ${LLDB_VERSION})
--
- install(TARGETS lldb-gdbserver
- RUNTIME DESTINATION bin)
-diff --git a/tools/lldb-mi/CMakeLists.txt b/tools/lldb-mi/CMakeLists.txt
-index cc4347f..9bdca83 100644
---- a/tools/lldb-mi/CMakeLists.txt
-+++ b/tools/lldb-mi/CMakeLists.txt
-@@ -164,7 +164,7 @@ add_lldb_executable(lldb-mi
- )
- endif ()
-
--target_link_libraries(lldb-mi liblldb)
-+target_link_libraries(lldb-mi liblldb pthread)
- # TODO: why isn't this done by add_lldb_executable?
- #target_link_libraries(lldb-mi ${LLDB_USED_LIBS})
- #llvm_config(lldb-mi ${LLVM_LINK_COMPONENTS})
diff --git a/devel/valgrind/HISTORY b/devel/valgrind/HISTORY
index d7df2be..87a432f 100644
--- a/devel/valgrind/HISTORY
+++ b/devel/valgrind/HISTORY
@@ -1,3 +1,7 @@
+2015-08-17 Thomas Orgis <sobukus AT sourcemage.org>
+ * PRE_BUILD, valgrind-3.10.1-linuxfromscratch.patch:
+ patch from LFS to fix build with recent kernels and boost
+
2015-03-18 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 3.10.1
* PRE_BUILD: apply patch
diff --git a/devel/valgrind/PRE_BUILD b/devel/valgrind/PRE_BUILD
index 0d326db..4b6ef0f 100755
--- a/devel/valgrind/PRE_BUILD
+++ b/devel/valgrind/PRE_BUILD
@@ -1,7 +1,8 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&