diff options
| -rw-r--r-- | 0001-Fix-build-using-swig-4.patch | 25 | ||||
| -rw-r--r-- | libkolabxml.spec | 1 | 
2 files changed, 26 insertions, 0 deletions
| 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 <liuxin@iscas.ac.cn> +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) + diff --git a/libkolabxml.spec b/libkolabxml.spec index 1e3bf1d..76ef162 100644 --- a/libkolabxml.spec +++ b/libkolabxml.spec @@ -49,6 +49,7 @@ License:        LGPLv3+  URL:            http://www.kolab.org  Source0:        https://cgit.kolab.org/libkolabxml/snapshot/libkolabxml-%{version}.tar.gz +Patch0:         0001-Fix-build-using-swig-4.patch  BuildRequires:  boost-devel  BuildRequires:  cmake >= 2.6 | 
