Skip to content

Commit

Permalink
7zip 24.06
Browse files Browse the repository at this point in the history
  • Loading branch information
landfillbaby authored Jun 9, 2024
1 parent 8cb8dff commit ccb0e14
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 186 deletions.
4 changes: 2 additions & 2 deletions packages/7zip/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.7-zip.org
TERMUX_PKG_DESCRIPTION="7-Zip file archiver with a high compression ratio"
TERMUX_PKG_LICENSE="LGPL-2.1, BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=23.01
TERMUX_PKG_VERSION=24.06
TERMUX_PKG_SRCURL=https://www.7-zip.org/a/7z${TERMUX_PKG_VERSION//./}-src.tar.xz
TERMUX_PKG_SHA256=356071007360e5a1824d9904993e8b2480b51b570e8c9faf7c0f58ebe4bf9f74
TERMUX_PKG_SHA256=2aa1660c773525b2ed84d6cd7ff0680c786ec0893b87e4db44654dcb7f5ac8b5
TERMUX_PKG_AUTO_UPDATE=false
TERMUX_PKG_BUILD_IN_SRC=true

Expand Down
159 changes: 0 additions & 159 deletions packages/7zip/disable_hardware_acceleration_support_on_arm.patch

This file was deleted.

25 changes: 0 additions & 25 deletions packages/7zip/guard_armv8_feature_from_old_architectures.patch

This file was deleted.

11 changes: 11 additions & 0 deletions packages/7zip/no-timespec_get.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/CPP/Windows/TimeUtils.cpp
+++ b/CPP/Windows/TimeUtils.cpp
@@ -259,7 +259,7 @@ bool GetSecondsSince1601(unsigned year, unsigned month, unsigned day,
Minix 3.1.8, AIX 7.1, HP-UX 11.31, IRIX 6.5, Solaris 11.3,
Cygwin 2.9, mingw, MSVC 14, Android 9.0.
*/
-#if defined(TIME_UTC)
+#if defined(TIME_UTC) && (!defined __ANDROID_API__ || __ANDROID_API__ >= 29)
#define ZIP7_USE_timespec_get
// #pragma message("ZIP7_USE_timespec_get")
#elif defined(CLOCK_REALTIME)

0 comments on commit ccb0e14

Please sign in to comment.