diff --git a/ports/qca/0003-disable-plugin-botan.patch b/ports/qca/0003-disable-plugin-botan.patch new file mode 100644 index 00000000000000..4819984f9fbb00 --- /dev/null +++ b/ports/qca/0003-disable-plugin-botan.patch @@ -0,0 +1,13 @@ +diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt +index 6d354dc..dd344a6 100644 +--- a/plugins/CMakeLists.txt ++++ b/plugins/CMakeLists.txt +@@ -2,7 +2,7 @@ + set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/${QCA_LIB_NAME}/crypto") + set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/${QCA_LIB_NAME}/crypto") + +-set(PLUGINS "botan;cyrus-sasl;gcrypt;gnupg;logger;nss;ossl;pkcs11;softstore" CACHE INTERNAL "") ++set(PLUGINS "cyrus-sasl;gcrypt;gnupg;logger;nss;ossl;pkcs11;softstore" CACHE INTERNAL "") + + # Initialize WITH_${PLUGIN}_PLUGIN cache variables + foreach(PLUGIN IN LISTS PLUGINS) diff --git a/ports/qca/CONTROL b/ports/qca/CONTROL index 7eacba3928df69..baab3cde633ad1 100644 --- a/ports/qca/CONTROL +++ b/ports/qca/CONTROL @@ -1,5 +1,6 @@ Source: qca Version: 2.3.1 +Port-Version: 1 Description: Qt Cryptographic Architecture (QCA). Homepage: https://cgit.kde.org/qca.git/ Build-Depends: qt5-base[core] diff --git a/ports/qca/portfile.cmake b/ports/qca/portfile.cmake index b62de4a2a8b5ed..494227caec37b0 100644 --- a/ports/qca/portfile.cmake +++ b/ports/qca/portfile.cmake @@ -20,6 +20,7 @@ vcpkg_from_github( PATCHES 0001-fix-path-for-vcpkg.patch 0002-fix-build-error.patch + 0003-disable-plugin-botan.patch ) if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")