[Midnightbsd-cvs] src [7285] stable/0.7/usr.sbin/bsdinstall/distextract/distextract.c: fix build with newer libarchive
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Aug 30 12:32:16 EDT 2015
Revision: 7285
http://svnweb.midnightbsd.org/src/?rev=7285
Author: laffer1
Date: 2015-08-30 12:32:15 -0400 (Sun, 30 Aug 2015)
Log Message:
-----------
fix build with newer libarchive
Modified Paths:
--------------
stable/0.7/usr.sbin/bsdinstall/distextract/distextract.c
Modified: stable/0.7/usr.sbin/bsdinstall/distextract/distextract.c
===================================================================
--- stable/0.7/usr.sbin/bsdinstall/distextract/distextract.c 2015-08-30 15:00:54 UTC (rev 7284)
+++ stable/0.7/usr.sbin/bsdinstall/distextract/distextract.c 2015-08-30 16:32:15 UTC (rev 7285)
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $MidnightBSD: src/usr.sbin/bsdinstall/distextract/distextract.c,v 1.2 2012/01/14 14:18:54 laffer1 Exp $
+ * $MidnightBSD$
* $FreeBSD: src/usr.sbin/bsdinstall/distextract/distextract.c,v 1.4 2011/03/13 18:26:16 nwhitehorn Exp $
*/
@@ -127,7 +127,7 @@
/* Either we didn't have a manifest, or this archive wasn't there */
archive = archive_read_new();
archive_read_support_format_all(archive);
- archive_read_support_compression_all(archive);
+ archive_read_support_filter_all(archive);
sprintf(path, "%s/%s", getenv("BSDINSTALL_DISTDIR"), file);
err = archive_read_open_filename(archive, path, 4096);
if (err != ARCHIVE_OK) {
@@ -189,7 +189,7 @@
for (i = 0; i < nfiles; i++) {
archive = archive_read_new();
archive_read_support_format_all(archive);
- archive_read_support_compression_all(archive);
+ archive_read_support_filter_all(archive);
sprintf(path, "%s/%s", getenv("BSDINSTALL_DISTDIR"), files[i]);
err = archive_read_open_filename(archive, path, 4096);
More information about the Midnightbsd-cvs
mailing list