diff --git a/app/src/main/cpp/0001-Don-t-build-other-binarys.patch b/app/src/main/cpp/0001-Don-t-build-other-binarys.patch deleted file mode 100644 index 0efeed5a0..000000000 --- a/app/src/main/cpp/0001-Don-t-build-other-binarys.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 2bda36800a5424c44378bbc0cc8bb5d26a0f34fa Mon Sep 17 00:00:00 2001 -From: tarsin -Date: Sat, 22 Jul 2023 08:30:20 +0800 -Subject: [PATCH] Don't build other binarys - ---- - CMakeLists.txt | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 55cd358..52b57aa 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -962,7 +962,7 @@ check_symbol_exists(getopt_long getopt.h HAVE_GETOPT_LONG) - # xzdec - ############################################################################# - --if(HAVE_GETOPT_LONG AND HAVE_DECODERS) -+if(0) - add_executable(xzdec - src/common/sysdefs.h - src/common/tuklib_common.h -@@ -1008,7 +1008,7 @@ endif() - # xz - ############################################################################# - --if(NOT MSVC AND HAVE_GETOPT_LONG) -+if(0) - add_executable(xz - src/common/mythread.h - src/common/sysdefs.h --- -2.41.0 - diff --git a/app/src/main/cpp/CMakeLists.txt b/app/src/main/cpp/CMakeLists.txt index 678e8a434..a6df0762b 100644 --- a/app/src/main/cpp/CMakeLists.txt +++ b/app/src/main/cpp/CMakeLists.txt @@ -23,9 +23,8 @@ set(FETCHCONTENT_BASE_DIR ${deps}) set(BUILD_TESTING 0) FetchContent_Declare(liblzma - GIT_REPOSITORY https://git.tukaani.org/xz.git - GIT_TAG v5.4.3 - PATCH_COMMAND git apply ${CMAKE_CURRENT_LIST_DIR}/0001-Don-t-build-other-binarys.patch || cd . + GIT_REPOSITORY https://github.com/FooIbar/xz.git + GIT_TAG v5.4.4 ) FetchContent_MakeAvailable(liblzma)