Package: android-platform-system-core / 1:8.1.0+r23-5

Metadata

Package Version Patches format
android-platform-system-core 1:8.1.0+r23-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
move log file to proper dir.patch | (download)

adb/adb_utils.cpp | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 update log file directory.
Added missing headers | (download)

adb/sysdeps/posix/network.cpp | 1 1 + 0 - 0 !
base/errors_unix.cpp | 1 1 + 0 - 0 !
base/file.cpp | 1 1 + 0 - 0 !
base/logging.cpp | 1 1 + 0 - 0 !
libbacktrace/BacktraceMap.cpp | 1 1 + 0 - 0 !
libcutils/include/cutils/jstring.h | 1 1 + 0 - 0 !
libsparse/sparse_read.cpp | 1 1 + 0 - 0 !
7 files changed, 7 insertions(+)

 added missing headers causing compile errors
Direct include fs_config header | (download)

libcutils/fs_config.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 direct include fs_config.h as private/fs_config.h points to empty header file
libusb header path.patch | (download)

adb/client/usb_libusb.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 libusb.h comes from different location
stdatomic.patch | (download)

libcutils/include/cutils/atomic.h | 16 16 + 0 - 0 !
libcutils/include/cutils/trace.h | 7 7 + 0 - 0 !
liblog/logger.h | 6 6 + 0 - 0 !
3 files changed, 29 insertions(+)

 fix incompatibility between <stdatomic.h> and <atomic>
 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.
Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60932
Bug: https://reviews.llvm.org/D45470

Nonnull.patch | (download)

adb/sysdeps.h | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 bring clang's _nonnull keyword to gcc
ucontext.patch | (download)

libbacktrace/include/backtrace/Backtrace.h | 5 2 + 3 - 0 !
1 file changed, 2 insertions(+), 3 deletions(-)

 remove dummy `ucontext` declaration
 This type is defined somewhere in the system, no need to make a dummy one.
Vector cast.patch | (download)

libutils/include/utils/Vector.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix the wired error by gcc7 that fails to match the correct parent method.
use Python 3 for mkbootimg.patch | (download)

mkbootimg/mkbootimg | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use python 3 for `mkbootimg`
Bug: https://android.googlesource.com/platform/system/core/+/c434cf82d526f07cd3dcebf53582eeddf12b0a74

major minor moved to sysmacros.patch | (download)

adb/client/usb_linux.cpp | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 major()/minor() is now in sysmacros


drop libext4_utils.patch | (download)

fastboot/fs.cpp | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 drop build-dependency on libext4_utils
 fastboot uses none of the symbols provided by libext4_utils but still includes
 a header of it. Removing it shall be enough.

throw exception on unknown os.patch | (download)

base/file.cpp | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

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

ENODATA BSD.patch | (download)

libutils/include/utils/Errors.h | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 `enodata` is absent in bsd
 Evidence exists in various places that BSD systems treat `ENODATA` and
 `ENOATTR` as alternatives to each other. See:
 * https://mail-index.netbsd.org/tech-kern/2012/04/30/msg013090.html
 * https://bugzilla.samba.org/show_bug.cgi?id=5714
 * https://lists.freebsd.org/pipermail/freebsd-hackers/2016-May/049494.html