From ba4dd191cc6e990468137d11174cbb2e8c4206a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Wed, 29 Jul 2026 04:21:34 +0200
Subject: [PATCH] Fix verbose output from newer lrzip

---
 libarchive/archive_read_support_filter_lrzip.c | 2 +-
 libarchive/archive_write_add_filter_lrzip.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libarchive/archive_read_support_filter_lrzip.c b/libarchive/archive_read_support_filter_lrzip.c
index 33910fe1..79aa70de 100644
--- a/libarchive/archive_read_support_filter_lrzip.c
+++ b/libarchive/archive_read_support_filter_lrzip.c
@@ -109,7 +109,7 @@ lrzip_bidder_init(struct archive_read_filter *f)
 {
 	int r;
 
-	r = __archive_read_program(f, "lrzip -d -q");
+	r = __archive_read_program(f, "lrzip -d -Q");
 	/* Note: We set the format here even if __archive_read_program()
 	 * above fails.  We do, after all, know what the format is
 	 * even if we weren't able to read it. */
diff --git a/libarchive/archive_write_add_filter_lrzip.c b/libarchive/archive_write_add_filter_lrzip.c
index 3bd5bc64..38de41ab 100644
--- a/libarchive/archive_write_add_filter_lrzip.c
+++ b/libarchive/archive_write_add_filter_lrzip.c
@@ -145,7 +145,7 @@ archive_write_lrzip_open(struct archive_write_filter *f)
 	int r;
 
 	archive_string_init(&as);
-	archive_strcpy(&as, "lrzip -q");
+	archive_strcpy(&as, "lrzip -Q");
 
 	/* Specify compression type. */
 	switch (lrzip->compression) {
