Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2023 13:04:50 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f5fac239219b - main - sysutils/testdisk: fix build with NTFS option
Message-ID:  <202308091304.379D4oCp090717@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

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

commit f5fac239219bdd6b380b7bad35be559d29871ef1
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-08-08 15:16:01 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-08-09 13:01:36 +0000

    sysutils/testdisk: fix build with NTFS option
    
    A benign type mismatch in a function pointer only used when compiled
    with the NTFS option was disagreeable to LLVM 16.  Patch things over
    by correcting the signature.
    
    Reported by:    Ale <discipline@tiscali.it>
    PR:             272982
    MFH:            2023Q3
---
 sysutils/testdisk/files/patch-src_ntfs__io.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/sysutils/testdisk/files/patch-src_ntfs__io.c b/sysutils/testdisk/files/patch-src_ntfs__io.c
new file mode 100644
index 000000000000..d7d05472edb5
--- /dev/null
+++ b/sysutils/testdisk/files/patch-src_ntfs__io.c
@@ -0,0 +1,11 @@
+--- src/ntfs_io.c.orig	2023-08-08 15:12:08 UTC
++++ src/ntfs_io.c
+@@ -154,7 +154,7 @@ static int ntfs_device_testdisk_io_stat(struct ntfs_de
+ 	return -1;
+ }
+ 
+-static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request,
++static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, unsigned long request,
+ 		void *argp)
+ {
+ 	log_warning( "ntfs_device_testdisk_io_ioctl() unimplemented\n");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308091304.379D4oCp090717>