Package: android-platform-system-core / 1:10.0.0+r36-7

Metadata

Package Version Patches format
android-platform-system-core 1:10.0.0+r36-7 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 !
adb/types.h | 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 !
demangle/Demangler.cpp | 1 1 + 0 - 0 !
libbacktrace/BacktraceMap.cpp | 1 1 + 0 - 0 !
libbacktrace/UnwindStackMap.cpp | 1 1 + 0 - 0 !
libcutils/include/cutils/jstring.h | 1 1 + 0 - 0 !
9 files changed, 9 insertions(+)

 added missing headers causing compile errors
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 !
liblog/logger_write.cpp | 1 0 + 1 - 0 !
4 files changed, 29 insertions(+), 1 deletion(-)

 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
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.py | 2 1 + 1 - 0 !
mkbootimg/unpack_bootimg.py | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

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

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.

simg_dump python3.patch | (download)

libsparse/simg_dump.py | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

 port simg_dump to python 3.
fix attribute issue with gcc.patch | (download)

base/include/android-base/logging.h | 5 1 + 4 - 0 !
1 file changed, 1 insertion(+), 4 deletions(-)

 remove clang-ism
workaround error expected primary expression before . token.patch | (download)

liblog/fake_writer.cpp | 1 0 + 1 - 0 !
liblog/stderr_write.cpp | 1 0 + 1 - 0 !
2 files changed, 2 deletions(-)

 code uses c99/c++20 constructs that g++ does not support
 $ g++ liblog/fake_writer.cpp -o liblog/fake_writer.o  -c -std=c++17 -fPIC -Iliblog/include -Iinclude -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484
liblog/fake_writer.cpp:36:5: error: expected primary-expression before . token
     .context.priv = &logFds,
     ^
 This is an ugly hack.  The actual fix is probably to compile using
 clang. Otherwise, these .context.priv elements shuld be initialized
fix gettid exception declaration.patch | (download)

libcutils/include/cutils/threads.h | 2 1 + 1 - 0 !
libcutils/threads.cpp | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

---
fix build on non x86.patch | (download)

base/cmsg.cpp | 6 4 + 2 - 0 !
1 file changed, 4 insertions(+), 2 deletions(-)

 non-x86 arches do not have page_size
add missing headers.patch | (download)

fs_mgr/liblp/reader.cpp | 1 1 + 0 - 0 !
fs_mgr/liblp/writer.cpp | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+)

---
hard code build number.patch | (download)

adb/adb.cpp | 4 1 + 3 - 0 !
fastboot/fastboot.cpp | 4 1 + 3 - 0 !
2 files changed, 2 insertions(+), 6 deletions(-)

 just hard code rather than deal with circular deps