Fix compilation on Protobuf v30

This commit is contained in:
Zephyr Lykos 2025-08-19 12:39:48 +08:00
commit fe376952de
No known key found for this signature in database
GPG key ID: D3E9D31E2F77F04D
2 changed files with 38 additions and 0 deletions

View file

@ -13,6 +13,8 @@ URL: http://developer.android.com/guide/developing/tools/
Source0: https://github.com/nmeum/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
# https://github.com/nmeum/android-tools/issues/153
Patch0: 0001-Fix-libusb-enumeration.patch
# https://github.com/nmeum/android-tools/pull/172
Patch1: 0002-extras-libjsonpb-Fix-incompatibility-with-protobuf-v30.patch
BuildRequires: brotli-devel
BuildRequires: cmake