This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit e41fdef543b3b85166aa16be641fafe42ab1179f Author: zhengyu16 <[email protected]> AuthorDate: Mon Jan 26 21:19:40 2026 +0800 libarchive: add CONFIG_UTILS_LIBARCHIVE_ZIP_XL_FIELD Disabling it saves 0.18K under LTO. Signed-off-by: zhengyu16 <[email protected]> Signed-off-by: tengshuangshuang <[email protected]> --- ...12-add-config-utils-libarchive-zip-xl-field.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/system/libarchive/0012-add-config-utils-libarchive-zip-xl-field.patch b/system/libarchive/0012-add-config-utils-libarchive-zip-xl-field.patch new file mode 100644 index 000000000..6c647a510 --- /dev/null +++ b/system/libarchive/0012-add-config-utils-libarchive-zip-xl-field.patch @@ -0,0 +1,20 @@ +diff --git a/libarchive/archive_read_support_format_zip.c b/libarchive/archive_read_support_format_zip.c +index f53223a9..57260084 100644 +--- a/libarchive/archive_read_support_format_zip.c ++++ b/libarchive/archive_read_support_format_zip.c +@@ -695,6 +695,7 @@ process_extra(struct archive_read *a, struct archive_entry *entry, + } + break; + } ++#ifdef CONFIG_UTILS_LIBARCHIVE_ZIP_XL_FIELD + case 0x6c78: + { + /* Experimental 'xl' field */ +@@ -812,6 +813,7 @@ process_extra(struct archive_read *a, struct archive_entry *entry, + } + break; + } ++#endif /* CONFIG_UTILS_LIBARCHIVE_ZIP_XL_FIELD */ + case 0x7075: + { + /* Info-ZIP Unicode Path Extra Field. */
