android-tools: Update to 31.0.3p1

This commit is contained in:
Tee KOBAYASHI 2022-03-05 03:56:52 +09:00 committed by buttaface
parent a631713004
commit 8305302732
2 changed files with 12 additions and 2 deletions

View File

@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://developer.android.com/
TERMUX_PKG_DESCRIPTION="Android platform tools"
TERMUX_PKG_LICENSE="Apache-2.0, MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=31.0.3
TERMUX_PKG_VERSION=31.0.3p1
TERMUX_PKG_SRCURL=https://github.com/nmeum/android-tools/releases/download/$TERMUX_PKG_VERSION/android-tools-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=d7d2d945b6e1a7ba0c7d0b68a6d21ada6914155bf3ca02ff06c9db628ae6b029
TERMUX_PKG_SHA256=0ef69f919d58a2bdff2083d2e83a9ef38df079ec82651b2544e9e48086df5ab8
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libc++, libusb, pcre2, googletest, libprotobuf, brotli, zstd, liblz4"

View File

@ -0,0 +1,10 @@
--- a/vendor/extras/partition_tools/lpdump.cc
+++ b/vendor/extras/partition_tools/lpdump.cc
@@ -33,6 +33,7 @@
#include <android-base/parseint.h>
#include <android-base/properties.h>
#include <android-base/strings.h>
+#undef __ANDROID__
#ifdef __ANDROID__
#include <cutils/android_get_control_file.h>
#include <fs_mgr.h>