diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-05 08:58:16 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 34e5069ef0d4f6474a995447af356599d6bc306f (patch) | |
tree | 969528662ce69992a10a9d09aaef8f8ee703f366 /development/kdesvn/kdesvn.patch | |
parent | cb964b3c5a938a3e8677294b6870632bb3e94227 (diff) | |
download | slackbuilds-34e5069ef0d4f6474a995447af356599d6bc306f.tar.gz |
development/kdesvn: Fix build with newer cmake.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/kdesvn/kdesvn.patch')
-rw-r--r-- | development/kdesvn/kdesvn.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/development/kdesvn/kdesvn.patch b/development/kdesvn/kdesvn.patch new file mode 100644 index 0000000000..ba97ff3b0b --- /dev/null +++ b/development/kdesvn/kdesvn.patch @@ -0,0 +1,16 @@ +--- kdesvn-1.6.0/CMakeLists.txt.orig 2015-12-07 17:48:18.377100540 +0000 ++++ kdesvn-1.6.0/CMakeLists.txt 2015-12-07 17:48:53.280327027 +0000 +@@ -20,11 +20,6 @@ + + PROJECT(kdesvn) + SET(PACKAGENAME "${CMAKE_PROJECT_NAME}") +-IF (CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION EQUAL 4) +- CMAKE_MINIMUM_REQUIRED(VERSION 2.4) +-ELSE (CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION EQUAL 4) +- CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +-ENDIF (CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION EQUAL 4) + SET(BASE_VERSION 1.6.0) + + OPTION(BUILD_TESTS "Building the tests yes or no (default off)") + + |