gentoo-overlay/sys-freebsd/freebsd-usbin/files/freebsd-usbin-9.0-libarchive.patch

12 lines
409 B
Diff

--- usr.sbin/bsdinstall/distextract/distextract.c.old 2011-11-02 20:28:08.000000000 +0000
+++ usr.sbin/bsdinstall/distextract/distextract.c 2011-11-02 20:28:57.000000000 +0000
@@ -32,6 +32,9 @@
#include <limits.h>
#include <archive.h>
#include <dialog.h>
+#ifndef archive_read_free
+#define archive_read_free(x) archive_read_finish(x)
+#endif
static int extract_files(int nfiles, const char **files);