| @@ -1,38 +1,44 @@ | | | @@ -1,38 +1,44 @@ |
1 | $NetBSD: patch-af,v 1.3 2010/09/01 13:45:25 wiz Exp $ | | 1 | $NetBSD: patch-af,v 1.4 2011/10/02 04:35:03 markd Exp $ |
2 | | | 2 | |
3 | libassuan2 support from | | 3 | libassuan2 support from |
4 | http://websvn.kde.org/?view=revision&revision=1078528 | | 4 | http://websvn.kde.org/?view=revision&revision=1078528 |
5 | | | 5 | |
6 | --- kleopatra/CMakeLists.txt.orig 2009-11-02 12:02:09.000000000 +0000 | | 6 | -DBOOST_NO_0X_HDR_INITIALIZER_LIST for gcc45 and recent boost |
| | | 7 | |
| | | 8 | --- kleopatra/CMakeLists.txt.orig 2010-12-22 17:51:56.000000000 +0000 |
7 | +++ kleopatra/CMakeLists.txt | | 9 | +++ kleopatra/CMakeLists.txt |
8 | @@ -2,7 +2,7 @@ project(kleopatra) | | 10 | @@ -2,7 +2,7 @@ project(kleopatra) |
9 | | | 11 | |
10 | include(MacroOptionalAddSubdirectory) | | 12 | include(MacroOptionalAddSubdirectory) |
11 | | | 13 | |
12 | -set( kleopatra_version 2.0.12 ) | | 14 | -set( kleopatra_version 2.0.12 ) |
13 | +set( kleopatra_version 2.1.0 ) | | 15 | +set( kleopatra_version 2.1.0 ) |
14 | set( kleopatra_release FALSE ) | | 16 | set( kleopatra_release FALSE ) |
15 | | | 17 | |
16 | if (NOT kleopatra_release) | | 18 | if (NOT kleopatra_release) |
17 | @@ -28,7 +28,7 @@ include_directories( | | 19 | @@ -28,10 +28,11 @@ include_directories( |
18 | ${QGPGME_INCLUDES} | | 20 | ${QGPGME_INCLUDES} |
19 | ${GPGME_INCLUDES} ) | | 21 | ${GPGME_INCLUDES} ) |
20 | if (USABLE_ASSUAN_FOUND) | | 22 | if (USABLE_ASSUAN_FOUND) |
21 | - include_directories(${ASSUAN_INCLUDES}) | | 23 | - include_directories(${ASSUAN_INCLUDES}) |
22 | + include_directories(${ASSUAN2_INCLUDES}) | | 24 | + include_directories(${ASSUAN2_INCLUDES}) |
23 | endif(USABLE_ASSUAN_FOUND) | | 25 | endif(USABLE_ASSUAN_FOUND) |
24 | add_definitions ( -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -D_ASSUAN_ONLY_GPG_ERRORS -DQT_STL ) | | 26 | add_definitions ( -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -D_ASSUAN_ONLY_GPG_ERRORS -DQT_STL ) |
25 | remove_definitions ( -DQT_NO_STL ) | | 27 | remove_definitions ( -DQT_NO_STL ) |
26 | @@ -84,11 +84,7 @@ if ( USABLE_ASSUAN_FOUND ) | | 28 | +add_definitions( -DBOOST_NO_0X_HDR_INITIALIZER_LIST ) |
| | | 29 | |
| | | 30 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}") |
| | | 31 | |
| | | 32 | @@ -84,11 +85,7 @@ if ( USABLE_ASSUAN_FOUND ) |
27 | selftest/uiservercheck.cpp | | 33 | selftest/uiservercheck.cpp |
28 | ) | | 34 | ) |
29 | | | 35 | |
30 | - if ( WIN32 ) | | 36 | - if ( WIN32 ) |
31 | - set( _kleopatra_uiserver_extra_libs ${ASSUAN_VANILLA_LIBRARIES} ) | | 37 | - set( _kleopatra_uiserver_extra_libs ${ASSUAN_VANILLA_LIBRARIES} ) |
32 | - else ( WIN32 ) | | 38 | - else ( WIN32 ) |
33 | - set( _kleopatra_uiserver_extra_libs ${ASSUAN_PTHREAD_LIBRARIES} ) | | 39 | - set( _kleopatra_uiserver_extra_libs ${ASSUAN_PTHREAD_LIBRARIES} ) |
34 | - endif( WIN32 ) | | 40 | - endif( WIN32 ) |
35 | + set( _kleopatra_uiserver_extra_libs ${ASSUAN2_LIBRARIES} ) | | 41 | + set( _kleopatra_uiserver_extra_libs ${ASSUAN2_LIBRARIES} ) |
36 | | | 42 | |
37 | if ( HAVE_GPG_ERR_SOURCE_KLEO ) | | 43 | if ( HAVE_GPG_ERR_SOURCE_KLEO ) |
38 | add_definitions( -DGPG_ERR_SOURCE_DEFAULT=GPG_ERR_SOURCE_KLEO ) | | 44 | add_definitions( -DGPG_ERR_SOURCE_DEFAULT=GPG_ERR_SOURCE_KLEO ) |