mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 22:17:43 +00:00
Ports: libarchive
Provides a cpio and tar implementation. Unfortunately doesn't work yet; requires a working mbtowc implementation.
This commit is contained in:
parent
5050f7b5ee
commit
282456dc37
3 changed files with 40 additions and 0 deletions
11
Ports/libarchive/patches/path-max-workaround.patch
Normal file
11
Ports/libarchive/patches/path-max-workaround.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- libarchive-3.4.0/libarchive/archive_read_disk_posix.c 2019-06-12 18:05:16.000000000 -0300
|
||||
+++ libarchive-3.4.0-new/libarchive/archive_read_disk_posix.c 2019-10-12 22:30:12.774683968 -0300
|
||||
@@ -1984,7 +1984,7 @@
|
||||
# else
|
||||
/* No way to get a trusted value of maximum filename
|
||||
* length. */
|
||||
- t->current_filesystem->name_max = PATH_MAX;
|
||||
+ t->current_filesystem->name_max = 4096; /* Toolchain workaround */
|
||||
# endif /* NAME_MAX */
|
||||
# if defined(_PC_NAME_MAX)
|
||||
else
|
Loading…
Add table
Add a link
Reference in a new issue