summaryrefslogtreecommitdiff
path: root/system/libarchive/test-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/libarchive/test-fix.patch')
-rw-r--r--system/libarchive/test-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/libarchive/test-fix.patch b/system/libarchive/test-fix.patch
new file mode 100644
index 000000000..484145dd3
--- /dev/null
+++ b/system/libarchive/test-fix.patch
@@ -0,0 +1,13 @@
+Upstream-URL: https://github.com/libarchive/libarchive/issues/2653
+
+--- libarchive-3.8.0/test_utils/test_main.c.old 2025-05-20 04:00:39.000000000 -0500
++++ libarchive-3.8.0/test_utils/test_main.c 2025-05-31 17:39:16.638713788 -0500
+@@ -2456,7 +2456,7 @@
+
+ /* Skip arbitrary third-party version numbers. */
+ while (s > 0 && (*q == ' ' || *q == '-' || *q == '/' || *q == '.' ||
+- isalnum((unsigned char)*q))) {
++ *q == '_' || isalnum((unsigned char)*q))) {
+ ++q;
+ --s;
+ }