diff options
| -rw-r--r-- | meta/packages/opensync/libopensync-plugin-evolution2/0.37-fixes.patch | 23 | ||||
| -rw-r--r-- | meta/packages/opensync/libopensync-plugin-evolution2_0.36.bb | 4 |
2 files changed, 27 insertions, 0 deletions
diff --git a/meta/packages/opensync/libopensync-plugin-evolution2/0.37-fixes.patch b/meta/packages/opensync/libopensync-plugin-evolution2/0.37-fixes.patch new file mode 100644 index 0000000000..4a1802ce17 --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin-evolution2/0.37-fixes.patch | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | Index: libopensync-plugin-evolution2-0.36/cmake/modules/FindOpenSync.cmake | ||
| 2 | =================================================================== | ||
| 3 | --- libopensync-plugin-evolution2-0.36.orig/cmake/modules/FindOpenSync.cmake 2008-10-20 13:07:14.000000000 +0100 | ||
| 4 | +++ libopensync-plugin-evolution2-0.36/cmake/modules/FindOpenSync.cmake 2008-10-20 13:08:09.000000000 +0100 | ||
| 5 | @@ -23,15 +23,15 @@ | ||
| 6 | ENDIF ( OpenSync_FIND_REQUIRED ) | ||
| 7 | |||
| 8 | IF ( OPENSYNC_MIN_VERSION ) | ||
| 9 | - PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} opensync-1.0>=${OPENSYNC_MIN_VERSION} ) | ||
| 10 | + PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} libopensync>=${OPENSYNC_MIN_VERSION} ) | ||
| 11 | ELSE ( OPENSYNC_MIN_VERSION ) | ||
| 12 | - PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} opensync-1.0 ) | ||
| 13 | + PKG_SEARCH_MODULE( OPENSYNC ${_pkgconfig_REQUIRED} libopensync ) | ||
| 14 | ENDIF ( OPENSYNC_MIN_VERSION ) | ||
| 15 | |||
| 16 | FIND_PROGRAM( PKGCONFIG_EXECUTABLE NAMES pkg-config ) | ||
| 17 | |||
| 18 | IF ( PKGCONFIG_EXECUTABLE ) | ||
| 19 | - EXEC_PROGRAM( ${PKGCONFIG_EXECUTABLE} ARGS opensync-1.0 --variable=datadir OUTPUT_VARIABLE _opensync_data_DIR ) | ||
| 20 | + EXEC_PROGRAM( ${PKGCONFIG_EXECUTABLE} ARGS libopensync --variable=datadir OUTPUT_VARIABLE _opensync_data_DIR ) | ||
| 21 | STRING( REGEX REPLACE "[\r\n]" " " _opensync_data_DIR "${_opensync_data_DIR}" ) | ||
| 22 | ENDIF ( PKGCONFIG_EXECUTABLE ) | ||
| 23 | |||
diff --git a/meta/packages/opensync/libopensync-plugin-evolution2_0.36.bb b/meta/packages/opensync/libopensync-plugin-evolution2_0.36.bb index da4ecb80b3..a1c4cb1887 100644 --- a/meta/packages/opensync/libopensync-plugin-evolution2_0.36.bb +++ b/meta/packages/opensync/libopensync-plugin-evolution2_0.36.bb | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | require libopensync-plugin_0.36.inc | 1 | require libopensync-plugin_0.36.inc |
| 2 | 2 | ||
| 3 | DEPENDS += " eds-dbus" | 3 | DEPENDS += " eds-dbus" |
| 4 | |||
| 5 | SRC_URI += "file://0.37-fixes.patch;patch=1" | ||
| 6 | |||
| 7 | PR = "r1" | ||
