Commits

Joshua Root authored 805833d2bfa
libarchive: fix runtime failure on older OS versions

Caused bsdtar to not be able to extract archives (probably among other things) on at least 10.6.
No tags

archivers/libarchive/files/patch-libarchive__archive_write_disk_posix.c.diff

Added
1 +diff --git a/libarchive/archive_write_disk_posix.c b/libarchive/archive_write_disk_posix.c
2 +index 283f3e78..6ae8a6a8 100644
3 +--- libarchive/archive_write_disk_posix.c
4 ++++ libarchive/archive_write_disk_posix.c
5 +@@ -431,7 +431,7 @@ la_opendirat(int fd, const char *path) {
6 + errno = ENOTSUP;
7 + return (-1);
8 + } else
9 +- return (open(fd, path, flags));
10 ++ return (open(path, flags));
11 + #else
12 + return (openat(fd, path, flags));
13 + #endif

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut