summaryrefslogtreecommitdiff
path: root/0001-Fix-build-using-swig-4.patch
diff options
context:
space:
mode:
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)
+