summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libical/libical/0001-Use-our-hand-build-native-src-generator.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libical/libical/0001-Use-our-hand-build-native-src-generator.patch')
-rw-r--r--meta/recipes-support/libical/libical/0001-Use-our-hand-build-native-src-generator.patch45
1 files changed, 22 insertions, 23 deletions
diff --git a/meta/recipes-support/libical/libical/0001-Use-our-hand-build-native-src-generator.patch b/meta/recipes-support/libical/libical/0001-Use-our-hand-build-native-src-generator.patch
index b7b757d74b..0813641ee9 100644
--- a/meta/recipes-support/libical/libical/0001-Use-our-hand-build-native-src-generator.patch
+++ b/meta/recipes-support/libical/libical/0001-Use-our-hand-build-native-src-generator.patch
@@ -1,33 +1,32 @@
1From e33bc310238bba1690f2c71ad333e10b9e422ea9 Mon Sep 17 00:00:00 2001 1From 378df7d6ef9207d3e11a3de54ffd05c04c6c0e0b Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Sat, 19 Oct 2019 14:23:06 +0200 3Date: Wed, 24 Feb 2021 20:28:22 +0000
4Subject: [PATCH] Use our hand-build native src-generator 4Subject: [PATCH] Use our hand-build native src-generator
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8 5
9Upstream-Status: Inappropriate [oe-core specific] 6Upstream-Status: Inappropriate [reported at https://github.com/libical/libical/issues/481]
10 7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
12--- 8---
13 src/libical-glib/CMakeLists.txt | 4 ++-- 9 src/libical-glib/CMakeLists.txt | 7 +------
14 1 file changed, 2 insertions(+), 2 deletions(-) 10 1 file changed, 1 insertion(+), 6 deletions(-)
15 11
16diff --git a/src/libical-glib/CMakeLists.txt b/src/libical-glib/CMakeLists.txt 12diff --git a/src/libical-glib/CMakeLists.txt b/src/libical-glib/CMakeLists.txt
17index f3704e6..ce9db16 100644 13index 13f77aa..c337c9e 100644
18--- a/src/libical-glib/CMakeLists.txt 14--- a/src/libical-glib/CMakeLists.txt
19+++ b/src/libical-glib/CMakeLists.txt 15+++ b/src/libical-glib/CMakeLists.txt
20@@ -63,8 +63,8 @@ endforeach() 16@@ -74,12 +74,7 @@ endforeach()
21
22 add_custom_command (
23 OUTPUT ${LIBICAL_GLIB_SOURCES} ${CMAKE_CURRENT_BINARY_DIR}/libical-glib-private.h ${CMAKE_CURRENT_BINARY_DIR}/i-cal-forward-declarations.h
24- COMMAND ${EXECUTABLE_OUTPUT_PATH}/src-generator "${CMAKE_CURRENT_SOURCE_DIR}/tools" "${CMAKE_CURRENT_SOURCE_DIR}/api"
25- DEPENDS ${EXECUTABLE_OUTPUT_PATH}/src-generator ${xml_files}
26+ COMMAND ${CMAKE_BINARY_DIR}/src-generator "${CMAKE_CURRENT_SOURCE_DIR}/tools" "${CMAKE_CURRENT_SOURCE_DIR}/api"
27+ DEPENDS ${CMAKE_BINARY_DIR}/src-generator ${xml_files}
28 )
29 17
30 configure_file( 18 if(CMAKE_CROSSCOMPILING)
19 # import native ical-glib-src-generator when cross-compiling
20- set(IMPORT_ICAL_GLIB_SRC_GENERATOR "ICAL_GLIB_SRC_GENERATOR-NOTFOUND"
21- CACHE FILEPATH
22- "Path to exported ical-glib-src-generator target from native build"
23- )
24- include(${IMPORT_ICAL_GLIB_SRC_GENERATOR})
25- set(ical-glib-src-generator_EXE native-ical-glib-src-generator)
26+ set(ical-glib-src-generator_EXE ${CMAKE_BINARY_DIR}/src-generator)
27 else()
28 set(ical-glib-src-generator_EXE ical-glib-src-generator)
29 endif()
31-- 30--
322.21.0 312.17.1
33 32