From 9e5f6fb156e9b25800a5e9fc4e073afe4da50617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 4 Dec 2023 19:17:09 +0700 Subject: [PATCH] libical: force shared libxml2.so This won't fix the problem, but show the problem. --- srcpkgs/libical/patches/libxml2-shared.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/libical/patches/libxml2-shared.patch diff --git a/srcpkgs/libical/patches/libxml2-shared.patch b/srcpkgs/libical/patches/libxml2-shared.patch new file mode 100644 index 00000000000..c806d610a03 --- /dev/null +++ b/srcpkgs/libical/patches/libxml2-shared.patch @@ -0,0 +1,11 @@ +--- a/src/libical-glib/CMakeLists.txt ++++ b/src/libical-glib/CMakeLists.txt +@@ -3,7 +3,7 @@ add_definitions(-Dlibical_ical_EXPORTS) + # build ical-glib-src-generator + add_custom_command( + OUTPUT ${EXECUTABLE_OUTPUT_PATH}/ical-glib-src-generator +- COMMAND /usr/bin/cc ${CMAKE_CURRENT_SOURCE_DIR}/tools/generator.c ${CMAKE_CURRENT_SOURCE_DIR}/tools/xml-parser.c -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I${CMAKE_CURRENT_SOURCE_DIR}/tools/ -lxml2 -lglib-2.0 -o ${EXECUTABLE_OUTPUT_PATH}/ical-glib-src-generator ++ COMMAND /usr/bin/cc ${CMAKE_CURRENT_SOURCE_DIR}/tools/generator.c ${CMAKE_CURRENT_SOURCE_DIR}/tools/xml-parser.c -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I${CMAKE_CURRENT_SOURCE_DIR}/tools/ -l:libxml2.so -lglib-2.0 -o ${EXECUTABLE_OUTPUT_PATH}/ical-glib-src-generator + ) + + list(APPEND API_FILES