From 3a815c27ec9f38fea6b65b69ec8f7b92a55a5c25 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 5 Jun 2023 09:33:42 +0000 Subject: automatic import of libkolabxml --- 0001-Fix-build-using-swig-4.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 0001-Fix-build-using-swig-4.patch (limited to '0001-Fix-build-using-swig-4.patch') diff --git a/0001-Fix-build-using-swig-4.patch b/0001-Fix-build-using-swig-4.patch new file mode 100644 index 0000000..8fda20b --- /dev/null +++ b/0001-Fix-build-using-swig-4.patch @@ -0,0 +1,25 @@ +From 7c2fb0cd8f8ffd9eafdfcfdd279e1581eca38a2b Mon Sep 17 00:00:00 2001 +From: misaka00251 +Date: Mon, 5 Jun 2023 17:32:18 +0800 +Subject: [PATCH] Fix build using swig 4 + +--- + src/php/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/php/CMakeLists.txt b/src/php/CMakeLists.txt +index 4f46da2..7d1853c 100644 +--- a/src/php/CMakeLists.txt ++++ b/src/php/CMakeLists.txt +@@ -66,7 +66,7 @@ if(NOT PHP_VERSION_ID VERSION_LESS ${PHP_MIN_VERSION}) + + install( FILES + ${CMAKE_CURRENT_BINARY_DIR}/kolabformat.php +- DESTINATION ${PHP_INSTALL_DIR} ++ DESTINATION ${PHP_INSTALL_DIR} OPTIONAL + ) + + else() +-- +2.39.2 (Apple Git-143) + -- cgit v1.2.3