xz/add-sw_64-support.patch
maqi cbcce33755 Add sw_64 support
(cherry picked from commit 293eae3476027c34868b47f71d0cd949e0c95653)
2025-03-05 14:10:52 +08:00

29 lines
675 B
Diff

From fdcfd8436a5030701cea06248563a25c44eea966 Mon Sep 17 00:00:00 2001
From: mahailiang <mahailiang@uniontech.com>
Date: Wed, 30 Oct 2024 21:02:03 +0800
Subject: [PATCH] add sw_64 support
---
src/liblzma/api/lzma/bcj.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/liblzma/api/lzma/bcj.h b/src/liblzma/api/lzma/bcj.h
index 0c84e0c..95cb413 100644
--- a/src/liblzma/api/lzma/bcj.h
+++ b/src/liblzma/api/lzma/bcj.h
@@ -15,6 +15,11 @@
# error Never include this file directly. Use <lzma.h> instead.
#endif
+#define LZMA_FILTER_SW_64 LZMA_VLI_C(0x04)
+ /**<
+ * Filter for sw_64 binaries
+ */
+
/* Filter IDs for lzma_filter.id */
--
2.20.1