diff options
Diffstat (limited to 'kde-base/rocs/files/rocs-4.7.3-boost.patch')
-rw-r--r-- | kde-base/rocs/files/rocs-4.7.3-boost.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/kde-base/rocs/files/rocs-4.7.3-boost.patch b/kde-base/rocs/files/rocs-4.7.3-boost.patch new file mode 100644 index 000000000000..9671e41b7d50 --- /dev/null +++ b/kde-base/rocs/files/rocs-4.7.3-boost.patch @@ -0,0 +1,29 @@ +commit 43b6ccf22174629ebec0a0579365c4269cf0fb58 +Author: Andreas Cord-Landwehr <cola@uni-paderborn.de> +Date: Sat Oct 22 22:50:26 2011 +0200 + + Build Rocs by default with Boost Exceptions. + + This solves the common build issues with many Boost releases. + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index b47ef0a..c636fd5 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -8,6 +8,8 @@ find_package(KDE4 REQUIRED) + include(KDE4Defaults) + remove_definitions(-DQT_NO_STL) + ++set (CMAKE_CXX_FLAGS "${KDE4_ENABLE_EXCEPTIONS}" ) ++ + include_directories( + ${KDE4_INCLUDES} + ${QT_INCLUDES} +@@ -15,7 +17,6 @@ include_directories( + + if(${CMAKE_BUILD_TYPE} MATCHES coverage) + set (CMAKE_CXX_COMPILER cov++) +- set (CMAKE_CXX_FLAGS "${KDE4_ENABLE_EXCEPTIONS}" ) + endif() + + find_package(Boost "1.39" REQUIRED) |