summaryrefslogtreecommitdiff
path: root/0001-Fix-build-using-swig-4.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-05 09:33:42 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-05 09:33:42 +0000
commit3a815c27ec9f38fea6b65b69ec8f7b92a55a5c25 (patch)
tree7422e943b95a7fc46020e6c76fe5bd81ed3d71c9 /0001-Fix-build-using-swig-4.patch
parent8780ecf0386708f0f4256078162e8d0d749f4323 (diff)
automatic import of libkolabxml
Diffstat (limited to '0001-Fix-build-using-swig-4.patch')
-rw-r--r--0001-Fix-build-using-swig-4.patch25
1 files changed, 25 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)
+