git: 3054340889b2 - main - sysutils/ltfs: Update to 2.4.6.0

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Sun, 17 Sep 2023 04:35:06 UTC
The branch main has been updated by kbowling:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3054340889b23124fb6c41384c0080093d1ed52a

commit 3054340889b23124fb6c41384c0080093d1ed52a
Author:     Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2023-09-17 04:34:47 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2023-09-17 04:34:47 +0000

    sysutils/ltfs: Update to 2.4.6.0
---
 sysutils/ltfs/distinfo                                        |  6 +++---
 .../ltfs/files/patch-src_tape__drivers_freebsd_cam_cam__tc.c  | 11 +++++++++++
 sysutils/ltfs/pkg-plist                                       |  3 +++
 3 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/sysutils/ltfs/distinfo b/sysutils/ltfs/distinfo
index 6558e0b9ba2a..0c14e77a87b6 100644
--- a/sysutils/ltfs/distinfo
+++ b/sysutils/ltfs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1659898539
-SHA256 (LinearTapeFileSystem-ltfs-v2.4.5.0-10502_GH0.tar.gz) = 2525773d740d315e9b1ce3ad615d51f5fa8a9da6b648c9f6e57fcca422bd04ac
-SIZE (LinearTapeFileSystem-ltfs-v2.4.5.0-10502_GH0.tar.gz) = 627666
+TIMESTAMP = 1694924043
+SHA256 (LinearTapeFileSystem-ltfs-v2.4.6.0-10507_GH0.tar.gz) = a30b4810e4d1279405951e888d51a6d4f8216204a385404d412d4e19e9f6f6ff
+SIZE (LinearTapeFileSystem-ltfs-v2.4.6.0-10507_GH0.tar.gz) = 629309
diff --git a/sysutils/ltfs/files/patch-src_tape__drivers_freebsd_cam_cam__tc.c b/sysutils/ltfs/files/patch-src_tape__drivers_freebsd_cam_cam__tc.c
new file mode 100644
index 000000000000..d4be8240818e
--- /dev/null
+++ b/sysutils/ltfs/files/patch-src_tape__drivers_freebsd_cam_cam__tc.c
@@ -0,0 +1,11 @@
+--- src/tape_drivers/freebsd/cam/cam_tc.c.orig	2023-09-17 04:20:07 UTC
++++ src/tape_drivers/freebsd/cam/cam_tc.c
+@@ -1241,7 +1241,7 @@ static int camtape_get_next_block_to_xfer(void *device
+ 		camtape_process_errors(softc, rc, msg, "READPOS", true);
+ 	else {
+ 		pos->partition = ext_data.partition;
+-		pos->block = scsi_8btou64(ext_data.last_object)
++		pos->block = scsi_8btou64(ext_data.last_object);
+ 		ltfsmsg(LTFS_DEBUG, 30398D, "next-block-to-xfer",
+ 				(unsigned long long) pos->block, 0, 0, softc->drive_serial);
+ 	}
diff --git a/sysutils/ltfs/pkg-plist b/sysutils/ltfs/pkg-plist
index 9c0eee273883..5d66ba80d6ad 100644
--- a/sysutils/ltfs/pkg-plist
+++ b/sysutils/ltfs/pkg-plist
@@ -6,8 +6,10 @@ etc/ltfs.conf
 etc/ltfs.conf.local
 include/ltfs/config.h
 include/ltfs/libltfs/arch/arch_info.h
+include/ltfs/libltfs/arch/errormap.h
 include/ltfs/libltfs/arch/signal_internal.h
 include/ltfs/libltfs/arch/time_internal.h
+include/ltfs/libltfs/config_file.h
 include/ltfs/libltfs/dcache_ops.h
 include/ltfs/libltfs/iosched_ops.h
 include/ltfs/libltfs/kmi_ops.h
@@ -27,6 +29,7 @@ include/ltfs/libltfs/tape_ops.h
 include/ltfs/libltfs/tape.h
 include/ltfs/libltfs/uthash_ext.h
 include/ltfs/libltfs/uthash.h
+include/ltfs/libltfs/xml.h
 include/ltfs/tape_drivers/ibm_tape.h
 include/ltfs/tape_drivers/spc_op_codes.h
 include/ltfs/tape_drivers/ssc_op_codes.h