android-platform-tools.git
3 years agoPort simg_dump to Python 3.
Antonio Russo [Thu, 28 Jul 2022 16:01:55 +0000 (17:01 +0100)]
Port simg_dump to Python 3.

Forwarded: not-needed
Last-Update: 2019-01-05
Origin: https://bugs.debian.org/945646

Gbp-Pq: Topic system/core
Gbp-Pq: Name simg_dump-python3.patch

3 years agoTurn #error into exceptions
Android Tools Maintainers [Thu, 28 Jul 2022 16:01:55 +0000 (17:01 +0100)]
Turn #error into exceptions

Forwarded: not-needed

So the library can be built on non-Linux platforms too, although can't
guarauntee its functionality regarding that piece of code.

Gbp-Pq: Topic system/core
Gbp-Pq: Name throw-exception-on-unknown-os.patch

3 years agoFix the weird error by GCC7 that fails to match the correct parent method.
Android Tools Maintainers [Thu, 28 Jul 2022 16:01:55 +0000 (17:01 +0100)]
Fix the weird error by GCC7 that fails to match the correct parent method.

Forwarded: not-needed

Gbp-Pq: Topic system/core
Gbp-Pq: Name Vector-cast.patch

3 years agoBring Clang's _Nonnull keyword to GCC
Android Tools Maintainers [Thu, 28 Jul 2022 16:01:55 +0000 (17:01 +0100)]
Bring Clang's _Nonnull keyword to GCC

Forwarded: not-needed

Gbp-Pq: Topic system/core
Gbp-Pq: Name Nonnull.patch

3 years agoFix incompatibility between <stdatomic.h> and <atomic>
Android Tools Maintainers [Thu, 28 Jul 2022 16:01:55 +0000 (17:01 +0100)]
Fix incompatibility between <stdatomic.h> and <atomic>

Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60932
Bug: https://reviews.llvm.org/D45470

This 2 headers combined will cause errors for both GCC and Clang. This patch
makes sure only one of them is present at any time.

Gbp-Pq: Topic system/core
Gbp-Pq: Name stdatomic.patch

3 years agolibusb.h comes from different location
Umang Parmar [Thu, 28 Jul 2022 16:01:55 +0000 (17:01 +0100)]
libusb.h comes from different location

Forwarded: not-needed
Last-Update: 2018-05-26

Gbp-Pq: Topic system/core
Gbp-Pq: Name libusb-header-path.patch

3 years agoAdded missing headers causing compile errors
Umang Parmar [Thu, 28 Jul 2022 16:01:55 +0000 (17:01 +0100)]
Added missing headers causing compile errors

Forwarded: not-needed

Gbp-Pq: Topic system/core
Gbp-Pq: Name Added-missing-headers.patch

3 years agoUpdate log file directory.
Umang Parmar [Thu, 28 Jul 2022 16:01:55 +0000 (17:01 +0100)]
Update log file directory.

Last Updated: 2018-05-17

Last Updated: 2018-05-17

Gbp-Pq: Topic system/core
Gbp-Pq: Name move-log-file-to-proper-dir.patch

3 years agoAdded missing headers causing compile errors
Android Tools Maintainers [Thu, 28 Jul 2022 16:01:55 +0000 (17:01 +0100)]
Added missing headers causing compile errors

Forwarded: not-needed

Gbp-Pq: Topic libnativehelper
Gbp-Pq: Name add-missing-headers.patch

3 years agoOff-by-one error in the dwarf_to_unw_regnum function in include/dwarf_i.h in
Android Tools Maintainers [Thu, 28 Jul 2022 16:01:55 +0000 (17:01 +0100)]
Off-by-one error in the dwarf_to_unw_regnum function in include/dwarf_i.h in

libunwind 1.1 allows local users to have unspecified impact via invalid dwarf opcodes.

Gbp-Pq: Topic external/libunwind
Gbp-Pq: Name 20150704-CVE-2015-3239_dwarf_i.h.patch

3 years agoReplace the legacy __sync built-in functions with __atomic ones
Android Tools Maintainers [Thu, 28 Jul 2022 16:01:55 +0000 (17:01 +0100)]
Replace the legacy __sync built-in functions with __atomic ones

Last-Update: 2016-10-04
Forwarded: not-needed

libunwind uses the built-in __sync_* functions which are deprecated by GCC and
should be replaced by __atomic_* ones. See the official manuals [1].

The legacy __sync functions do not require to specify the memory order but
__atomic ones do, so we choose the strongest one: __ATOMIC_SEQ_CST.

We do this because __sync_fetch_and_add() is not supported on armel.

[1]: https://gcc.gnu.org/onlinedocs/gcc/_005f_005fsync-Builtins.html

Gbp-Pq: Topic external/libunwind
Gbp-Pq: Name legacy_built-in_sync_functions.patch

3 years agoManual definition of struct user_pt_regs
Kai-Chung Yan [Thu, 28 Jul 2022 16:01:55 +0000 (17:01 +0100)]
Manual definition of struct user_pt_regs

Last-Update: 2016-08-24
Forwarded: not-needed

On ARM64, libunwind uses struct user_pt_regs which is not defined in
anywhere, which causes FTBFS.

Gbp-Pq: Topic external/libunwind
Gbp-Pq: Name user_pt_regs.patch

3 years agoFix header path to get rid of compile errors
Umang Parmar [Thu, 28 Jul 2022 16:01:55 +0000 (17:01 +0100)]
Fix header path to get rid of compile errors

Forwarded: not-needed
Last-Update: 2018-06-13

Gbp-Pq: Topic external/selinux
Gbp-Pq: Name Fix-header-path.patch

3 years agoandroid-platform-tools (29.0.6-20) unstable; urgency=medium
Roger Shimizu [Thu, 28 Jul 2022 16:01:55 +0000 (17:01 +0100)]
android-platform-tools (29.0.6-20) unstable; urgency=medium

  * Team upload.
  * debian/system/core/fastboot.mk:
    - Add usb-1.0 as lib dependency to linker (Closes: #1012892).
  * debian/rules: Sync with ubuntu that ignoring error from dh_dwz.

[dgit import unpatched android-platform-tools 29.0.6-20]

3 years agoImport android-platform-tools_29.0.6-20.debian.tar.xz
Roger Shimizu [Thu, 28 Jul 2022 16:01:55 +0000 (17:01 +0100)]
Import android-platform-tools_29.0.6-20.debian.tar.xz

[dgit import tarball android-platform-tools 29.0.6-20 android-platform-tools_29.0.6-20.debian.tar.xz]

4 years agoImport android-platform-tools_29.0.6.orig.tar.gz
Prateek Ganguli [Thu, 20 May 2021 04:30:00 +0000 (05:30 +0100)]
Import android-platform-tools_29.0.6.orig.tar.gz

[dgit import orig android-platform-tools_29.0.6.orig.tar.gz]